joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ae4f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0040aafd

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x40d860
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8000]
push edi
or ebp, 0xffffffff
jmp 0x40d882
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40d889
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40d878
mov eax, 1
add ebx, ebx
jne 0x40d89b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40d890
jne 0x40d8ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40d890
xor ecx, ecx
sub eax, 3
jb 0x40d8c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40d932
mov ebp, eax
add ebx, ebx
jne 0x40d8cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40d8d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40d8fc
inc ecx
add ebx, ebx
jne 0x40d8e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40d8dd
jne 0x40d8f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40d8dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40d91c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40d90d
jmp 0x40d87e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40d91c
add edi, ecx
jmp 0x40d87e
pop esi
mov edi, esi
mov ecx, 0xc
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40d93a
cmp byte [edi], 0
jne 0x40d93a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40d93f
lea edi, [esi + 0xb000]
mov eax, dword [edi]
or eax, eax
je 0x40d9ae
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40d96c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd09c]
or eax, eax
je 0x40d9a8
mov dword [ebx], eax
add ebx, 4
jmp 0x40d989
call dword [esi + 0xd098]
mov ebp, dword [esi + 0xd0a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40d9e2
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x1001121
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x1001080
call fcn.010012d8
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x100115c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100115c
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1001174
cmp eax, 0x20b
je 0x1001161
mov dword [ebp - 0x1c], edi
jmp 0x1001188
cmp dword [ecx + 0x84], 0xe
jbe 0x100115c
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x1001182
cmp dword [ecx + 0x74], 0xe
jbe 0x100115c
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x100201c], 0xffffffff
or dword [0x1002020], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1002014]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1002010]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1002024], eax
call fcn.010012ce
cmp dword [section..data], edi
jne 0x10011e3
push fcn.010012ce
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.010012b7
push 0x100105c
push 0x1001058
call sub.msvcrt.dll__initterm
mov eax, dword [0x100200c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1002008]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x34], eax
push 0x1001054
push 0x1001050
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___winitenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.01001109
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x100125a
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x100128f
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01001313
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10003ebf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x10003ece
pop dword [ebp - 0x30]
mov eax, 0x10003ece
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x80c4326b
add dword [ebp - 0x40], 0xcd8e12e0
mov dword [ebp - 0x3c], 0x18baf49a
sub dword [ebp - 0x3c], 0xe687a855
mov dword [ebp - 0x38], 0x93f13e27
sub dword [ebp - 0x38], 0x47a4f9f9
mov dword [ebp - 0x34], 0xc20bf16b
add dword [ebp - 0x34], 0x3df40e95
lea eax, [ebp - 0x40]
push eax
mov eax, 0xa6e04632
sub eax, 0x96dff5ee
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x8503d3c5
add dword [ebp - 0x40], 0xef6e9591
mov dword [ebp - 0x3c], 0xfb829edc
add dword [ebp - 0x3c], 0x45e9c299
mov dword [ebp - 0x38], 0xe96d05ea
sub dword [ebp - 0x38], 0x85fd997e
mov dword [ebp - 0x34], 0x2206975e
sub dword [ebp - 0x34], 0x2206975e
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0xe02c4e50
add eax, 0x2fd401f0
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x3479a
push 0
call eax
mov ecx, 0xa36482d4
add ecx, 0x5c9bbc8a
mov edi, eax
mov edx, 0x1000b600
add edx, dword [ebp - 0x30]
mov esi, 0x3cb17a5f
add esi, 0x979b56db
mov dword [ebp - 4], 0xfa9115ff
mov ebx, dword [edx]
add dword [ebp - 8], edx
xor ebx, esi
sub dword [ebp - 0x24], ebx
mov dword [edi], ebx
sub dword [ebp - 0xc], edi
add edi, 0xb03fa1cf
sub edi, 0xb03fa1cb
add edx, 0x952f4a62
add edx, 0x6ad0b5a2
loop 0x10003fe5
add eax, 0x4ff0ae23
sub eax, 0x4fefbdd8
mov ebx, eax
add eax, 0x93a63a3
sub eax, 0x93a639e
mov ecx, 0x83d37f60
sub ecx, 0x73d37f60
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408ecc
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0xe7641e0
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..rdata
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x7d5e1aa9
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x403e59
pop dword [ebp - 0x40]
mov eax, 0xdbcae49
add eax, 0xf2839010
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x10013492
add dword [ebp - 0x50], 0x3e5110b9
mov dword [ebp - 0x4c], 0xf0e1ec2d
add dword [ebp - 0x4c], 0x41516018
mov dword [ebp - 0x48], 0x251ce1a9
add dword [ebp - 0x48], 0x272f6285
mov dword [ebp - 0x44], 0x7b043b73
add dword [ebp - 0x44], 0x84fbc48d
lea eax, [ebp - 0x50]
push eax
mov eax, 0xdaf93210
add eax, 0x25474e7c
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x3c4bcbd5
add dword [ebp - 0x50], 0x38269d81
mov dword [ebp - 0x4c], 0x7382396e
add dword [ebp - 0x4c], 0xcdea2807
mov dword [ebp - 0x48], 0x5515afc8
sub dword [ebp - 0x48], 0xf1a6435c
mov dword [ebp - 0x44], 0x6e46c8e
add dword [ebp - 0x44], 0xf91b9372
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0xb7a110b3
add eax, 0x489f7021
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x398f9
push 0
call eax
mov ecx, 0x5341
mov edi, eax
mov ebx, 0x411000
add ebx, dword [ebp - 0x40]
mov esi, 0x2f0bb25d
sub esi, 0xa1a722fb
xor dword [ebp - 4], 0x9371fa63
mov edx, dword [ebx]
xor dword [ebp - 0x24], eax
add edx, esi
add dword [ebp - 0x38], 0xbd559c38
mov dword [edi], edx
xor dword [ebp - 0x10], esi
add edi, 0x7624c2bc
sub edi, 0x7624c2b8
add ebx, 0x396dcf49
sub ebx, 0x396dcf45
loop 0x403f6f
add eax, 0xaeee3ed0
add eax, 0x51130107
mov ebx, eax
add eax, 0x1772d125
sub eax, 0x1772d120
mov ecx, 0xf035a3a6
add ecx, 0x100a5c5a
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x40156a
Capabilities:
Check if file exists

Disassembly:
push 0x1c
mov eax, 0x596d3b
call fcn.00410ff3
call fcn.00401519
mov ecx, eax
call fcn.00412851
push eax
lea ecx, [ebp - 0x28]
call fcn.0040135f
mov esi, str.TGDmhlp.exe
xor edi, edi
push esi
mov dword [ebp - 4], edi
call fcn.00434fd1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00401cf3
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4015d8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push edi
cmovae eax, dword [ebp - 0x28]
push edi
push edi
push str.b959a1
push eax
call fcn.004145ce
add esp, 0x14
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.00401bfd
call fcn.00410fae
ret

Function at 0x401605
Capabilities:
Check if file exists

Disassembly:
push 0x23c
mov eax, 0x596842
call fcn.00410ff3
push 7
pop esi
xor edi, edi
mov dword [ebp - 0x21c], esi
push edi
xor eax, eax
mov dword [ebp - 0x220], edi
mov ebx, 0x59b670
mov word [ebp - 0x230], ax
push ebx
lea ecx, [ebp - 0x230]
call fcn.00401f62
push edi
xor eax, eax
mov dword [ebp - 4], edi
push ebx
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x238], edi
mov word [ebp - 0x248], ax
call fcn.00401f62
mov byte [ebp - 4], 1
call fcn.00401519
mov ecx, eax
call fcn.00412851
mov esi, eax
cmp word [esi], di
jne 0x401680
mov eax, edi
jmp 0x401687
push esi
call fcn.00434fd1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.00401f62
mov esi, str.GDVCDbus.exe
push esi
call fcn.00434fd1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.00401cf3
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401795
push 0x208
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.00431720
push str.7c4585
lea eax, [ebp - 0x218]
push 0x59b978
push eax
call fcn.00402189
mov esi, 0x59b980
push esi
call fcn.00434fd1
add esp, 0x1c
lea ecx, [ebp - 0x230]
push eax
push esi
call fcn.00401f62
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x230]
call fcn.00401c54
mov esi, 0x59b984
push esi
call fcn.00434fd1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x230]
call fcn.00401cf3
cmp word [ebp - 0x218], 0
jne 0x40174f
mov eax, edi
jmp 0x40175c
lea eax, [ebp - 0x218]
push eax
call fcn.00434fd1
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00401cf3
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push edi
cmovae eax, dword [ebp - 0x230]
push 0x1388
push 1
push ebx
push eax
call fcn.004145ce
add esp, 0x14
push edi
push 1
lea ecx, [ebp - 0x248]
call fcn.00401bfd
push edi
push 1
lea ecx, [ebp - 0x230]
call fcn.00401bfd
call fcn.00410fae
ret
Function at 0x402f7f
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x620290]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x24], ebx
call fcn.0041555d
test al, al
je 0x402fb2
push ebx
push edx
pop edi
pop esp
push esp
pop eax
push edx
pop edi
pop ebp
push esi
push edi
push edi
push edi
push ebp
pop esi
pop ebp
pop esi
call fcn.00415a37
test al, al
je 0x402fdb
push edx
pop esi
push esp
pop ebx
pop eax
push edi
push ebp
push eax
pop ebx
pop esp
push edi
push esp
pop edx
pop edx
push edi
push edx
push esi
pop ecx
pop eax
pop ebx
pop eax
push esp
pop edi
push ecx
pop esp
pop ebp
pop esp
pop ebp
push esi
mov ebx, dword [ebp - 0x24]
call fcn.00415ac1
test al, al
je 0x402ff5
pop edi
pop esi
push edx
push esp
pop eax
push esp
pop edx
push ebp
push edx
push edx
push edx
push edi
pop ebp
push esp
pop eax
pop esi
pop esp
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x403012
xor al, al
jmp 0x40310a
push 0xf01ff
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x40300b
call fcn.004158de
test al, al
je 0x403050
push edi
push eax
push esp
pop edx
pop edx
pop edx
pop ebp
push ebp
pop ebp
push edx
pop ecx
push esp
push ebp
push ebp
push esi
pop esi
push ebx
push eax
pop ecx
pop esi
pop edx
push ebx
pop esp
pop esi
pop ebp
push ebp
pop esp
push ecx
pop edx
pop ebp
pop edi
call fcn.00415899
test al, al
je 0x403077
push ebx
pop ecx
push edi
pop ebx
push esi
pop ebx
pop ecx
push ecx
pop esi
pop edi
pop ecx
pop edx
push ebx
push esp
pop esi
pop esp
pop edx
push esp
pop ecx
pop edx
push ecx
push edi
push ecx
pop edx
push esi
pop esi
pop ebp
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0x1c], 1
je 0x403095
lea eax, [ebp - 0x20]
push eax
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ControlService]
call fcn.004156b6
test al, al
je 0x4030b3
pop esi
pop ecx
pop edi
push ebx
pop ecx
push edi
push eax
pop edi
push ebp
push edi
push eax
pop eax
push esp
push edx
push ebx
pop eax
pop edi
push ebp
pop ebp
push ecx
pop edx
call fcn.00415b06
test al, al
je 0x4030cf
push esp
pop esp
push edi
pop ecx
pop ebp
push esp
push esp
pop eax
push esi
push esi
push ebp
pop esp
pop ebx
pop ebx
push edi
pop esp
push esp
pop edi
push edx
call fcn.0041580f
test al, al
je 0x4030f6
push edx
push edi
pop eax
pop esp
push edi
pop ebx
pop esi
pop ebp
push esi
pop edi
push esp
push ecx
pop eax
push eax
push ecx
push ebp
push ecx
push ebp
pop esp
push esp
pop edx
pop esp
pop ebp
pop eax
pop esp
pop ebx
pop esi
push edi
push edi
pop ebp
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410f88
mov esp, ebp
pop ebp
ret 4
Function at 0x40311d
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x620290]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push esi
push edi
push ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ebx
call fcn.00402f7f
test al, al
jne 0x403156
push ebx
push 0x7d
call fcn.0041622f
pop ecx
pop ecx
xor eax, eax
jmp 0x4032a1
call fcn.00415ac1
test al, al
je 0x40317d
push esi
pop esi
pop eax
pop ecx
push ecx
pop esi
pop eax
push esi
push esp
push ebp
pop ebx
push eax
push edi
push esp
pop ebx
pop esp
pop edx
push edi
pop esp
push esi
push edx
push ebx
pop edi
push eax
pop ecx
push esp
pop ecx
push ecx
pop esi
push ebx
call fcn.004154d3
test al, al
je 0x40319f
pop esi
push eax
push esi
push edx
push ebx
pop edx
push edx
pop esi
pop esp
push ebx
pop edx
push edx
pop edi
pop edx
pop esp
push ebp
pop esi
push ebx
push ebx
push esp
pop edx
push edi
push ebp
push edi
push esp
call fcn.004155a2
test al, al
je 0x4031c1
pop eax
push ebp
pop ebp
push ebp
push edi
push eax
pop esp
push ecx
push edi
push esi
push edx
pop ebx
push ebp
pop ebp
pop edx
pop ebp
push esp
pop ebx
push ecx
push eax
pop ecx
pop ebp
push eax
pop esp
push esi
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
push esi
call fcn.00402da7
test al, al
jne 0x4031d9
push esi
push 0x7e
jmp 0x403148
call fcn.004159f2
test al, al
je 0x4031fc
push edi
pop esp
push esp
pop edi
push esi
pop edx
push ecx
pop edx
push esi
pop edx
push esi
push eax
push esp
pop ebx
pop ebp
push ebx
pop ebx
push edx
push esp
pop ebp
push ebp
push edi
push ebp
pop esi
push ebx
pop ebx
call fcn.004158de
test al, al
je 0x403216
pop ebp
push esi
pop eax
pop esp
push ecx
pop ebp
push ebx
pop ebp
pop ecx
pop edi
push edi
pop ecx
push ecx
pop eax
pop ebx
push esp
pop edx
call fcn.004155e7
test al, al
je 0x403231
pop ecx
push esp
pop ebp
push esi
pop esp
pop eax
pop edi
push ebp
push esp
pop edi
push ecx
pop ecx
push edx
push ecx
pop ecx
push eax
push esp
push ecx
lea eax, [ebp - 0x20]
push eax
push 0xf003f
push 0
push str.SOFTWAREWow6432NodeMicrosoftWindows_NTCurrentVersionSvchost
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40329e
and dword [ebp - 0xc], eax
mov esi, str.LocalWorkSvc
push esi
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
call fcn.00434fd1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.00401f62
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00401bfd
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410f88
mov esp, ebp
pop ebp
ret 4
Function at 0x403413
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x620290]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov ebx, ecx
push 0
push eax
mov dword [ebp - 0x210], ebx
call fcn.00431720
add esp, 0xc
call fcn.00415671
test al, al
je 0x403475
pop esi
pop esi
pop eax
push edi
pop ebx
push edx
pop ebx
push edi
push edx
push ebp
pop esp
push esi
pop edx
push eax
pop ecx
pop eax
pop ebx
push edx
push ebp
pop edi
pop esi
push eax
push edi
pop esi
push esi
pop ebp
pop eax
push eax
push ebp
pop ebp
push ebp
mov ebx, dword [ebp - 0x210]
call fcn.00415ac1
test al, al
je 0x403490
push edi
push esp
push esi
push esp
pop ecx
pop ecx
push esi
push ebp
push ebp
pop edi
pop edx
pop esp
push esp
push edi
pop esi
pop esi
pop esp
pop ebp
push 0
push 0x10
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4034b5
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.00403739
call fcn.004155a2
test al, al
je 0x4034d8
pop edx
pop edx
push esi
pop esp
pop edi
pop eax
pop ebx
push eax
pop edx
push eax
push eax
push eax
pop ebp
push esi
push edi
push esp
push ecx
push ebx
pop edx
push ebx
push esp
push edx
push ebx
pop edi
push esp
push ebx
call fcn.0041580f
test al, al
je 0x4034fa
pop edi
pop esi
push ecx
pop ecx
pop edi
push ebx
pop ebx
push esp
pop esi
pop ebx
pop edx
push esp
pop ebx
pop edx
pop ebp
pop esp
pop edx
push esi
push esi
push ecx
pop ebx
push eax
pop edi
push edx
push edx
push 0
push 0x19
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x403523
mov ecx, dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push eax
call fcn.00403739
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410f88
mov esp, ebp
pop ebp
ret
Function at 0x403534
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x620290]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ecx
push 0
push eax
call fcn.00431720
add esp, 0xc
call fcn.004157ca
test al, al
je 0x403580
pop ebx
pop eax
pop ecx
push esp
pop edi
push esi
push edx
push edx
push ecx
pop edi
push ebx
push esi
push ebp
pop esi
pop esi
pop edi
push eax
call fcn.004156b6
test al, al
je 0x4035a3
push ecx
push esi
push eax
push ebp
pop ebp
push ebp
pop esi
pop edi
pop ebp
push ecx
push edi
pop esp
pop ecx
push ebp
pop edx
pop ebp
pop esp
push edx
pop ecx
push edx
pop esi
pop eax
pop ecx
pop edx
pop edx
pop eax
call fcn.004159ad
test al, al
je 0x4035c1
push edx
pop esi
pop ebx
pop ebp
pop esi
push esi
push ebp
push esp
push eax
push ecx
push ecx
pop ebx
push ebx
pop eax
pop ebx
push esp
push ebp
push ebp
pop esp
push ecx
pop ebx
push 0
push 0x1a
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4035fd
lea eax, [ebp - 0x20c]
push str.MicrosoftInternet_ExplorerQuick_Launch
push eax
call fcn.0043841c
pop ecx
pop ecx
mov ecx, dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push eax
call fcn.00403739
call fcn.0041548e
test al, al
je 0x403624
push edx
push ebp
pop esp
pop eax
pop edx
push edi
pop eax
push esi
pop ebx
push ebx
pop ecx
push ebx
pop ecx
push eax
push ebp
pop ecx
pop eax
pop esi
push ecx
push esp
push ebx
pop edi
pop esp
pop esp
push ebx
pop esi
push ebx
pop ebp
pop ecx
push edx
call fcn.00415923
test al, al
je 0x403642
push esp
pop esi
push ecx
push ebp
pop esi
push ebx
pop edi
pop ecx
pop ebx
pop eax
push edx
pop edi
pop esp
push edi
pop esi
push ecx
pop ebp
pop ebp
pop esi
push ecx
push ebp
call fcn.00415449
test al, al
je 0x403662
push esi
push eax
push esp
pop ebx
push ebx
push edi
push ebp
pop ebp
pop edi
pop esp
push esi
push edi
pop edx
pop esi
push edx
pop edx
push edx
pop edx
pop ebp
push eax
push edx
push ebp
push ebp
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410f88
mov esp, ebp
pop ebp
ret