joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47550b
Capabilities:
Get disk information

Disassembly:
push 0x158
mov eax, 0x5aec8d
call fcn.005861c0
mov esi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
test esi, esi
mov edi, dword [ebp + 0x10]
setne al
mov dword [ebp - 0x158], esi
test eax, eax
jne 0x475539
call fcn.004659a8
xor eax, eax
test ebx, ebx
setne al
test eax, eax
je 0x475534
lea eax, [ebp - 0x154]
push eax
push esi
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x475581
push 0xffffffffffffffff
push ebx
push 0x104
push esi
call fcn.005866c6
push eax
call fcn.00403320
add esp, 0x14
push ebx
push edi
call fcn.004754de
xor eax, eax
jmp 0x4756a2
cmp eax, 0x104
jb 0x47559e
test edi, edi
je 0x47557a
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.00403570
jmp 0x47557a
call fcn.00464b17
push eax
lea ecx, [ebp - 0x15c]
call fcn.00403aa0
and dword [ebp - 4], 0
lea eax, [ebp - 0x15c]
push eax
push esi
call fcn.00474e8e
mov esi, dword [ebp - 0x15c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsUNCA]
test eax, eax
jne 0x475697
xor ecx, ecx
lea eax, [ebp - 0x160]
push ecx
push ecx
push eax
lea eax, [ebp - 0x164]
push eax
push ecx
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x475609
push ebx
push edi
call fcn.004754de
lea ecx, [esi - 0x10]
call fcn.00403ad0
jmp 0x47557a
mov eax, dword [ebp - 0x160]
test al, 2
jne 0x475625
push dword [ebp - 0x158]
call dword [sym.imp.USER32.dll_CharUpperA]
mov eax, dword [ebp - 0x160]
test al, 4
jne 0x475697
lea eax, [ebp - 0x150]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x475697
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x154]
test eax, eax
je 0x4755f5
cmp eax, dword [ebp - 0x158]
jbe 0x4755f5
lea eax, [ebp - 0x124]
push eax
call fcn.005860d0
mov edx, dword [ebp - 0x154]
sub edx, dword [ebp - 0x158]
pop ecx
add eax, edx
mov ecx, 0x104
cmp eax, ecx
jge 0x4756aa
lea eax, [ebp - 0x124]
sub ecx, edx
push eax
push ecx
push dword [ebp - 0x154]
call fcn.00582f53
push eax
call fcn.00403320
add esp, 0x10
lea ecx, [esi - 0x10]
call fcn.00403ad0
xor eax, eax
inc eax
call fcn.0058616f
ret 0xc
test edi, edi
je 0x4755fc
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.00403570
jmp 0x4755fc
Function at 0x47ada9
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af16c
mov eax, dword fs:[0]
push eax
mov eax, 0x101c
call fcn.00588eb0
mov eax, dword [0x62c2a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0x10]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x101c], edx
mov dword [ebp - 0x1028], ebx
cmp dword [ecx + 0x58], ebx
je 0x47aedd
push ebx
push eax
call fcn.0047af2c
mov ebx, eax
test ebx, ebx
jne 0x47ae11
push esi
jmp 0x47af05
call fcn.00464b17
push eax
lea ecx, [ebp - 0x1014]
call fcn.00403aa0
xor ecx, ecx
lea eax, [ebp - 0x1018]
push eax
push ecx
lea eax, [ebp - 0x1020]
mov dword [ebp - 4], ecx
push eax
push ecx
push dword [ebp - 0x101c]
mov dword [ebp - 0x1020], ecx
push ebx
mov dword [ebp - 0x1018], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x1024], eax
test eax, eax
jne 0x47ae9c
push dword [ebp - 0x1018]
lea ecx, [ebp - 0x1014]
call fcn.00403810
lea ecx, [ebp - 0x1018]
push ecx
push eax
lea eax, [ebp - 0x1020]
push eax
push 0
push dword [ebp - 0x101c]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1014]
mov dword [ebp - 0x1024], eax
call fcn.00411a00
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x1024], 0
jne 0x47aeca
mov esi, dword [ebp - 0x1014]
add esi, 0xfffffff0
push esi
call fcn.004033d0
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.00403ad0
jmp 0x47af0c
push esi
mov ecx, edi
call fcn.00407820
mov ecx, dword [ebp - 0x1014]
lea ecx, [ecx - 0x10]
jmp 0x47aec3
test esi, esi
jne 0x47aee6
mov esi, 0x5ef390
push dword [ecx + 0x6c]
lea ecx, [ebp - 0x1010]
push 0x1000
push ecx
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x1010]
push eax
mov ecx, edi
call fcn.00407820
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00581fc1
mov esp, ebp
pop ebp
ret 0x10

Function at 0x47ed2f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x62c2a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x47edc1
test esi, esi
je 0x47edc1
push esi
call fcn.005860d0
push 0xff
mov ebx, eax
mov byte [ebp - 0x104], 0
lea eax, [ebp - 0x103]
push 0
push eax
call fcn.00586b50
mov eax, 0x100
add esp, 0x10
cmp ebx, eax
ja 0x47eda6
push eax
lea eax, [ebp - 0x104]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, ebx
jne 0x47eda6
push esi
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x47edae
push esi
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00581fc1
mov esp, ebp
pop ebp
ret 8
call fcn.004659a8
int3
Function at 0x49522f
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x49527d
push esi
mov ebx, 0x811c9dc5
xor edi, edi
call fcn.005860d0
xor edx, edx
mov dword [ebp + 8], 0xa
pop ecx
mov ecx, eax
div dword [ebp + 8]
inc eax
test ecx, ecx
je 0x495272
mov edx, ecx
movsx ecx, byte [edi + esi]
add edi, eax
imul ebx, ebx, 0x1000193
xor ebx, ecx
cmp edi, edx
jb 0x495260
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.004659a8
int3
Function at 0x4d93d7
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x62c2a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x4d942c
xor eax, eax
test esi, esi
sete al
or eax, 0x4000
push eax
push 0x160
lea eax, [ebp - 0x26c]
push eax
push 0
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00581fc1
mov esp, ebp
pop ebp
ret 4
Function at 0x4d9568
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x71c
mov eax, dword [0x62c2a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
test edx, edx
je 0x4d9787
test esi, esi
je 0x4d9787
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x45c], ebx
mov dword [ebp - 0x458], ebx
mov dword [ebp - 0x454], ebx
mov dword [ebp - 0x450], ebx
mov dword [ebp - 0x44c], ebx
mov dword [ebp - 0x448], ebx
mov dword [ebp - 0x334], ebx
mov dword [ebp - 0x330], ebx
mov dword [ebp - 0x32c], ebx
mov dword [ebp - 0x328], ebx
mov dword [ebp - 0x324], ebx
mov dword [ebp - 0x320], ebx
sub eax, ebx
je 0x4d9758
dec eax
je 0x4d95fa
dec eax
je 0x4d96c0
dec eax
jne 0x4d9772
mov edi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea eax, [ebp - 0x108]
push eax
push dword [edx + 4]
call edi
test eax, eax
je 0x4d9753
push ebx
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00496498
test eax, eax
je 0x4d9753
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 4]
call edi
test eax, eax
je 0x4d96b8
push ebx
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00496498
test eax, eax
je 0x4d96b8
cmp dword [ebp + 0x10], 1
jne 0x4d9718
test byte [ebp - 0x43c], 0x10
jne 0x4d9753
test byte [ebp - 0x314], 0x10
jne 0x4d96b8
mov ecx, dword [ebp - 0x318]
mov eax, dword [ebp - 0x31c]
cmp dword [ebp - 0x440], ecx
ja 0x4d96b8
jb 0x4d9753
cmp dword [ebp - 0x444], eax
jb 0x4d9753
cmp dword [ebp - 0x440], ecx
jb 0x4d9772
ja 0x4d96b8
cmp dword [ebp - 0x444], eax
jbe 0x4d9772
xor ebx, ebx
inc ebx
jmp 0x4d9772
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea eax, [ebp - 0x71c]
push 0x408
push 0x160
push eax
push ebx
push dword [edx + 4]
call edi
test eax, eax
je 0x4d9772
push 0x408
push 0x160
lea eax, [ebp - 0x5bc]
push eax
push ebx
push dword [esi + 4]
call edi
test eax, eax
je 0x4d9772
lea eax, [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x60c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov ebx, eax
jmp 0x4d9772
push dword [ebp - 0x328]
lea ecx, [ebp - 0x454]
push dword [ebp - 0x32c]
call fcn.004d8d34
test al, al
jne 0x4d9753
push dword [ebp - 0x328]
lea ecx, [ebp - 0x454]
push dword [ebp - 0x32c]
call fcn.004d8d53
xor ebx, ebx
test al, al
setne bl
jmp 0x4d9772
or ebx, 0xffffffff
jmp 0x4d9772
push dword [esi + 8]
mov eax, dword [edx]
push dword [edx + 8]
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
jns 0x4d976f
xor eax, eax
jmp 0x4d9774
movsx ebx, ax
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00581fc1
mov esp, ebp
pop ebp
ret 0xc
call fcn.004659a8
int3
Function at 0x4da8f5
Capabilities:
Get file system object information

Disassembly:
push 0x270
mov eax, 0x5b4e3c
call fcn.005861c0
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.004033d0
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x278], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x278]
push 0
push 0x60011c
call fcn.00410450
cmp eax, 0xffffffff
jne 0x4da9a9
push 0
push 0x5c5328
lea ecx, [ebp - 0x278]
call fcn.00410450
cmp eax, 0xffffffff
jne 0x4da9a9
push 0
push 0x5c27cc
lea ecx, [ebp - 0x278]
call fcn.00410450
cmp eax, 0xffffffff
jne 0x4da9a9
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.004033d0
pop ecx
lea edi, [eax + 0x10]
mov dword [ebp - 0x27c], edi
xor ecx, ecx
mov byte [ebp - 4], 1
push ecx
lea eax, [ebp - 0x114]
push eax
push 0x104
push ecx
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
jne 0x4da985
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov ebx, eax
call fcn.00403ad0
jmp 0x4da9d8
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x278]
call fcn.00403570
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.00403ad0
mov esi, dword [ebp - 0x278]
push 0x105
push 0x160
lea eax, [ebp - 0x274]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x4da9cf
mov ebx, dword [ebp - 0x274]
jmp 0x4da9d8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.00403ad0
mov eax, ebx
call fcn.0058616f
ret
Function at 0x55913f
Capabilities:
Get common file path

Disassembly:
push 0x120
mov eax, 0x5ba33b
call fcn.005861c0
mov ebx, ecx
mov dword [ebp - 0x12c], ebx
call fcn.0056bbf8
push 0x1c4
call fcn.00464219
pop ecx
mov dword [ebp - 0x128], eax
and dword [ebp - 4], 0
test eax, eax
je 0x559182
push 0
push dword [ebx + 0x60]
mov ecx, eax
call fcn.0057344e
jmp 0x559184
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
push eax
call fcn.0056b073
call fcn.00471068
mov esi, 0x104
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0x8c]
lea eax, [ebp - 0x114]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x114]
push eax
call fcn.005860d0
mov edi, eax
pop ecx
mov byte [ebp + edi - 0x114], 0x5c
inc edi
cmp edi, esi
jae 0x5593a1
xor eax, eax
mov byte [ebp + edi - 0x114], 0
mov dword [ebp - 0x128], eax
test ebx, ebx
je 0x55939b
xor esi, esi
mov dword [ebp - 0x120], esi
cmp dword [ebx + 4], eax
jle 0x55939b
call fcn.00464b17
push eax
lea ecx, [ebp - 0x118]
call fcn.00403aa0
mov eax, dword [ebx]
xor ecx, ecx
inc ecx
push ecx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x114]
push edi
push ecx
push esi
lea ecx, [ebp - 0x118]
push ecx
mov ecx, ebx
call dword [eax + 0xc]
test eax, eax
je 0x559379
push 0x5c574c
mov esi, 0x5c5750
lea ecx, [ebp - 0x118]
push esi
call fcn.0042ff30
push esi
push 0x5c2b24
lea ecx, [ebp - 0x118]
call fcn.0042ff30
push esi
push 0x5c574c
lea ecx, [ebp - 0x118]
call fcn.0042ff30
call fcn.00464b17
push eax
lea ecx, [ebp - 0x124]
call fcn.00403aa0
mov eax, dword [ebp - 0x128]
mov byte [ebp - 4], 2
cmp eax, 9
jne 0x5592a5
push dword [ebp - 0x118]
lea eax, [ebp - 0x124]
push str.10__s
push eax
call fcn.00403900
add esp, 0xc
jmp 0x5592d7
jge 0x5592c5
push dword [ebp - 0x118]
inc eax
push eax
lea eax, [ebp - 0x124]
push str._d__s
push eax
call fcn.00403900
add esp, 0x10
jmp 0x5592d7
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x124]
call fcn.004054a0
push 0x1c4
call fcn.00464219
pop ecx
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x559301
mov ecx, eax
call fcn.005318d4
mov ecx, eax
mov dword [ebp - 0x11c], eax
jmp 0x559309
xor ecx, ecx
mov dword [ebp - 0x11c], ecx
mov eax, dword [ecx]
mov esi, dword [ebp - 0x124]
push esi
mov byte [ebp - 4], 2
call dword [eax + 0xb4]
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x120]
add eax, 0xe110
push eax
mov edx, dword [ecx]
call dword [edx + 0xb0]
push dword [ebp - 0x120]
mov ecx, ebx
call fcn.0047b545
mov ecx, dword [ebp - 0x11c]
push dword [eax]
mov edx, dword [ecx]
call dword [edx + 0xc8]
mov ecx, dword [ebp - 0x11c]
push ecx
mov ecx, dword [ebp - 0x12c]
call fcn.0056b073
inc dword [ebp - 0x128]
lea ecx, [esi - 0x10]
call fcn.00403ad0
mov esi, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x118]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00403ad0
inc esi
mov dword [ebp - 0x120], esi
cmp esi, dword [ebx + 4]
jl 0x5591fa
call fcn.0058616f
ret
call fcn.00583263
int3
Function at 0x59d01c
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x62c2a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0058faef
mov dword [ebp - 0x14], eax
cmp dword [0x639614], esi
jne 0x59d10f
push 0x800
push esi
push 0x5ec850
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x59d09c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x59d1ef
push esi
push esi
push 0x5ec850
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x59d1ef
push 0x5ec868
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x59d1ef
push eax
call ebx
push 0x5ec874
push edi
mov dword [0x639614], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x5ec884
push edi
mov dword [0x639618], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x5ec898
push edi
mov dword [0x63961c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x639624], eax
test eax, eax
je 0x59d10c
push 0x5ec8b4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x639620], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x59d134
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x59d127
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x59d149
push 4
pop eax
jmp 0x59d1f1
cmp dword [ebp - 0x14], esi
je 0x59d149
push dword [0x639614]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x59d12e
mov eax, dword [0x639620]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x59d1a7
cmp dword [0x639624], edi
je 0x59d1a7
push eax
call ebx
push dword [0x639624]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x59d1a7
test eax, eax
je 0x59d1a7
call ecx
test eax, eax
je 0x59d19c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x59d19c
test byte [ebp - 8], 1
jne 0x59d1a7
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x59d1d7
mov eax, dword [0x639618]
cmp eax, edi
je 0x59d1d4
push eax
call ebx
test eax, eax
je 0x59d1d4
call eax
mov esi, eax
test esi, esi
je 0x59d1d4
mov eax, dword [0x63961c]
cmp eax, edi
je 0x59d1d4
push eax
call ebx
test eax, eax
je 0x59d1d4
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x639614]
call ebx
test eax, eax
je 0x59d1ef
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x59d1f1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00581fc1
mov esp, ebp
pop ebp
ret
Function at 0x401cf0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x2c], 1
jle 0x401ea0
mov dword [ebp - 0x10], 1
jmp 0x401d30
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x2c]
jge 0x401ea0
mov dword [ebp - 0x18], str._autostart
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov cx, word [eax]
mov word [ebp - 2], cx
mov edx, dword [ebp - 0x18]
cmp cx, word [edx]
jne 0x401d94
cmp word [ebp - 2], 0
je 0x401d8b
mov eax, dword [ebp - 0x14]
mov cx, word [eax + 2]
mov word [ebp - 4], cx
mov edx, dword [ebp - 0x18]
cmp cx, word [edx + 2]
jne 0x401d94
add dword [ebp - 0x14], 4
add dword [ebp - 0x18], 4
cmp word [ebp - 4], 0
jne 0x401d4f
mov dword [ebp - 0x38], 0
jmp 0x401d9c
sbb eax, eax
or eax, 1
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0x44], 0
jne 0x401db3
mov edx, dword [ebp - 0x34]
mov byte [edx], 1
jmp 0x401e9b
mov dword [ebp - 0x20], str._slient
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov cx, word [eax]
mov word [ebp - 6], cx
mov edx, dword [ebp - 0x20]
cmp cx, word [edx]
jne 0x401e0b
cmp word [ebp - 6], 0
je 0x401e02
mov eax, dword [ebp - 0x1c]
mov cx, word [eax + 2]
mov word [ebp - 8], cx
mov edx, dword [ebp - 0x20]
cmp cx, word [edx + 2]
jne 0x401e0b
add dword [ebp - 0x1c], 4
add dword [ebp - 0x20], 4
cmp word [ebp - 8], 0
jne 0x401dc6
mov dword [ebp - 0x3c], 0
jmp 0x401e13
sbb eax, eax
or eax, 1
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x48], ecx
cmp dword [ebp - 0x48], 0
jne 0x401e28
mov edx, dword [ebp - 0x34]
mov byte [edx + 1], 1
jmp 0x401e9b
mov dword [ebp - 0x28], str._noshortcut
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov cx, word [eax]
mov word [ebp - 0xa], cx
mov edx, dword [ebp - 0x28]
cmp cx, word [edx]
jne 0x401e80
cmp word [ebp - 0xa], 0
je 0x401e77
mov eax, dword [ebp - 0x24]
mov cx, word [eax + 2]
mov word [ebp - 0xc], cx
mov edx, dword [ebp - 0x28]
cmp cx, word [edx + 2]
jne 0x401e80
add dword [ebp - 0x24], 4
add dword [ebp - 0x28], 4
cmp word [ebp - 0xc], 0
jne 0x401e3b
mov dword [ebp - 0x40], 0
jmp 0x401e88
sbb eax, eax
or eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x4c], ecx
cmp dword [ebp - 0x4c], 0
jne 0x401e9b
mov edx, dword [ebp - 0x34]
mov byte [edx + 2], 1
jmp 0x401d27
xor al, al
mov esp, ebp
pop ebp
ret 4
Function at 0x409bd0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x8a0204]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x12c], 0x128
push 0x124
push 0
lea eax, [ebp - 0x128]
push eax
call fcn.00774aa0
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x130], eax
lea ecx, [ebp - 0x12c]
push ecx
mov edx, dword [ebp - 0x130]
push edx
call dword [sym.imp.KERNEL32.dll_Process32First]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x409c6d
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.00405670
add esp, 8
test eax, eax
je 0x409c51
mov al, 1
jmp 0x409c6f
lea edx, [ebp - 0x12c]
push edx
mov eax, dword [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_Process32Next]
mov dword [ebp - 0x134], eax
jmp 0x409c2d
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0075c173
mov esp, ebp
pop ebp
ret

Function at 0x409c80
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x8a0204]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x12c], 0x128
push 0x124
push 0
lea eax, [ebp - 0x128]
push eax
call fcn.00774aa0
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x130], eax
lea ecx, [ebp - 0x12c]
push ecx
mov edx, dword [ebp - 0x130]
push edx
call dword [sym.imp.KERNEL32.dll_Process32First]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x409d36
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.00405670
add esp, 8
test eax, eax
je 0x409d1a
push 0
mov edx, dword [ebp - 0x124]
push edx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x130]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32Next]
mov dword [ebp - 0x134], eax
jmp 0x409cdd
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0075c173
mov esp, ebp
pop ebp
ret