joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436144
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
mov dword [esp], 0x20
push esp
call sub.KERNEL32.DLL_GlobalMemoryStatus
mov eax, dword [esp + 0xc]
add esp, 0x20
ret

Function at 0x43b61c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x43b67e
call fcn.0043b5cc
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.00436734
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.00436734
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x43b6dc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x442970], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x43b7b6
cmp dword [0x44296c], 0
jne 0x43b7b6
cmp dword [0x442b60], 0
je 0x43b770
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.0043b520
add esp, 8
mov ebx, eax
test eax, eax
jne 0x43b756
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.0043b520
add esp, 8
mov ebx, eax
test eax, eax
jne 0x43b756
lea ebx, [ebp - 0x84]
jmp 0x43b757
inc ebx
call fcn.0043b698
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x43b7f1
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x442974
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00436734
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x442977
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x43b7f1
cmp dword [0x44296c], 0
je 0x43b7d0
cmp dword [0x44296c], 0xffffffff
je 0x43b7f1
push esi
call dword [0x44296c]
pop ecx
mov eax, dword [0x442970]
test eax, eax
je 0x43b7f1
cmp dword [0x442970], 0xffffffff
je 0x43b7f1
cmp byte [eax], 0
je 0x43b7f1
push esi
push eax
call fcn.0043b61c
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405a11
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x4f0da8
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x405a69
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x405a69
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x405a69
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret

Function at 0x405a92
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
lea eax, [ebp - 4]
push eax
push 0x4f0da8
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x405b00
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push str.DisableMMX
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x405af7
cmp dword [ebp - 0xc], 4
jne 0x405af7
cmp dword [ebp - 0x10], edi
je 0x405af7
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x512b68], edi
xor eax, eax
jmp 0x405b28
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x512b68], edi
jge 0x405b23
mov dword [0x512b68], edi
call fcn.00405a6d
test eax, eax
je 0x405b23
emms
mov dword [0x512b68], 1
mov eax, dword [0x512b68]
pop edi
leave
ret

Function at 0x405c08
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x98
push ebx
push edi
push 0x25
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
xor bl, bl
and byte [ebp + 0x73], bl
push eax
mov dword [ebp - 0x24], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x405c3f
inc bl
mov byte [ebp + 0x73], 1
cmp dword [ebp - 0x14], 1
jne 0x405c61
cmp dword [ebp - 0x20], 4
ja 0x405c6b
jne 0x405c5b
cmp dword [ebp - 0x1c], 0xa
jb 0x405c5b
cmp word [ebp - 0x18], 0x55d
jae 0x405c6b
mov byte [ebp + 0x73], 1
jmp 0x405c6b
cmp dword [ebp - 0x14], 2
jne 0x405c81
test bl, bl
je 0x405c9c
mov eax, dword [ebp + 0x7c]
sub eax, 6
je 0x405c8c
dec eax
je 0x405c85
sub eax, 3
jne 0x405c81
cmp byte [ebp + 0x73], 0
je 0x405cad
xor eax, eax
jmp 0x405cb5
call fcn.00405b2b
jmp 0x405cb5
cmp byte [ebp + 0x73], 0
jne 0x405c81
call fcn.00405b63
and eax, 4
jmp 0x405cb5
cmp dword [ebp + 0x7c], 0xa
je 0x405cad
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
jmp 0x405cb5
call fcn.00405b63
and eax, 8
pop edi
pop ebx
add ebp, 0x74
leave
ret
Function at 0x423af3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x423b01
xor eax, eax
pop ebp
ret
cmp dword [ebp + 0x10], 8
push esi
mov esi, dword [ebp + 8]
not esi
mov ecx, 0xff
jb 0x423bd5
mov eax, dword [ebp + 0x10]
push ebx
shr eax, 3
push edi
xor ebx, ebx
mov bl, byte [edx]
mov edi, esi
shr edi, 8
sub dword [ebp + 0x10], 8
xor ebx, esi
and ebx, ecx
mov esi, dword [ebx*4 + 0x4f2ae8]
xor ebx, ebx
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x4f2ae8]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x4f2ae8]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x4f2ae8]
xor ebx, ebx
shr esi, 8
xor edi, esi
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x4f2ae8]
xor ebx, ebx
shr edi, 8
xor esi, edi
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x4f2ae8]
shr esi, 8
xor edi, esi
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, edi
and ebx, ecx
mov esi, dword [ebx*4 + 0x4f2ae8]
shr edi, 8
xor esi, edi
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
mov edi, dword [ebx*4 + 0x4f2ae8]
shr esi, 8
xor esi, edi
inc edx
dec eax
jne 0x423b1e
pop edi
pop ebx
cmp dword [ebp + 0x10], 0
je 0x423bf5
xor eax, eax
mov al, byte [edx]
xor eax, esi
and eax, ecx
mov eax, dword [eax*4 + 0x4f2ae8]
shr esi, 8
xor esi, eax
inc edx
dec dword [ebp + 0x10]
jne 0x423bdb
mov eax, esi
not eax
pop esi
pop ebp
ret
Function at 0x447700
Capabilities:
Create directory
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df276
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x515de0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x44776f
xor ecx, ecx
jmp 0x44778f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x447780
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x447780
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00448950
cmp dword [ebp - 0x220], 0
mov dword [ebp - 4], 0
jne 0x447882
xor eax, eax
mov dword [ebp - 0x234], 7
push eax
push 0x4e4094
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
call fcn.00448950
mov eax, dword [0x51a3b0]
lea edx, [ebp - 0x248]
push edx
lea edx, [ebp - 0x260]
mov byte [ebp - 4], 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x68]
mov edi, eax
cmp esi, edi
je 0x447832
cmp dword [esi + 0x14], 8
jb 0x447817
push dword [esi]
call fcn.004c3c8b
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push edi
mov word [esi], ax
call fcn.004481e0
cmp dword [ebp - 0x24c], 8
jb 0x447849
push dword [ebp - 0x260]
call fcn.004c3c8b
add esp, 4
xor eax, eax
mov dword [ebp - 0x24c], 7
cmp dword [ebp - 0x234], 8
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
mov byte [ebp - 4], al
jb 0x4478bb
push dword [ebp - 0x248]
call fcn.004c3c8b
add esp, 4
jmp 0x4478bb
lea eax, [ebp - 0x230]
cmp esi, eax
je 0x447898
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00448830
push 0xc
push 0x4e40b4
mov ecx, esi
call fcn.00448750
cmp dword [esi + 0x14], 8
jb 0x4478b0
mov eax, dword [esi]
jmp 0x4478b2
mov eax, esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0xd
push str.Settings.dat
mov ecx, esi
call fcn.00448750
cmp dword [ebp - 0x21c], 8
jb 0x4478e0
push dword [ebp - 0x230]
call fcn.004c3c8b
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c4554
mov esp, ebp
pop ebp
ret 4
Function at 0x4479d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df2b8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x515de0]
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 esi, ecx
mov edx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
cmp byte [edx], 0
mov byte [ebp - 0x70], 0
jne 0x447a1e
xor ecx, ecx
jmp 0x447a2c
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x447a23
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.00433e00
cmp byte [edi], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jne 0x447a58
xor ecx, ecx
jmp 0x447a69
mov ecx, edi
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x447a60
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.00433e00
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00448b00
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00448b00
add esp, 0x10
cmp dword [esi + 0x14], 8
jb 0x447aa0
mov esi, dword [esi]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push esi
cmovae ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x58]
push dword [ebp + 0x10]
cmp dword [ebp - 0x44], 8
push ecx
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp dword [ebp - 0x2c], 8
mov esi, eax
jb 0x447ad5
push dword [ebp - 0x40]
call fcn.004c3c8b
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x447afa
push dword [ebp - 0x58]
call fcn.004c3c8b
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
jb 0x447b1f
push dword [ebp - 0x28]
call fcn.004c3c8b
add esp, 4
cmp dword [ebp - 0x5c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x447b42
push dword [ebp - 0x70]
call fcn.004c3c8b
add esp, 4
mov eax, esi
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.004c4554
mov esp, ebp
pop ebp
ret 0xc
Function at 0x456010
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x515de0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add eax, 0x458
mov edx, dword [ebp + 0x10]
cmp byte [eax], 0
je 0x45607f
push eax
push 0x100
lea eax, [ebp - 0x104]
push eax
push 0x4e46f8
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x45607f
lea eax, [ebp - 0x104]
push eax
call fcn.004c650b
fstp dword [ebp - 0x108]
fld dword [ebp - 0x108]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c4554
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
fld dword [ebp + 0x14]
xor ecx, ebp
call fcn.004c4554
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4560a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x515de0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add eax, 0x458
mov edx, dword [ebp + 0x10]
cmp byte [eax], 0
je 0x456103
push eax
push 0x100
lea eax, [ebp - 0x104]
push eax
push 0x4e46f8
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x456103
lea eax, [ebp - 0x104]
push eax
call fcn.004c651c
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c4554
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0x14]
xor ecx, ebp
call fcn.004c4554
mov esp, ebp
pop ebp
ret 0x10

Function at 0x456120
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp byte [eax + 0x458], 0
lea ecx, [eax + 0x458]
push esi
je 0x456159
push ecx
push 0x100
lea esi, [eax + 0x22c]
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, esi
pop esi
pop ebp
ret 0x10
mov ecx, dword [ebp + 0x14]
add eax, 0x22c
mov esi, eax
sub esi, ecx
mov dl, byte [ecx]
lea ecx, [ecx + 1]
mov byte [esi + ecx - 1], dl
test dl, dl
jne 0x456165
pop esi
pop ebp
ret 0x10
Function at 0x456da0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0xa38]
test edi, edi
je 0x456e7c
test eax, eax
je 0x456dcf
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esi + 0xa38], 0
mov eax, dword [esi]
lea ebx, [esi + 0xa3c]
push ebx
push edi
push esi
call dword [eax + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esi + 0xa38], eax
cmp eax, 0xffffffff
je 0x456f2a
test byte [ebx], 0x10
je 0x456e6d
mov ecx, 0x4e51ec
lea eax, [esi + 0xa68]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x456e23
test dl, dl
je 0x456e1f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x456e23
add eax, 2
add ecx, 2
test dl, dl
jne 0x456e03
xor eax, eax
jmp 0x456e28
sbb eax, eax
or eax, 1
test eax, eax
je 0x456e6d
mov ecx, 0x4e51f0
lea eax, [esi + 0xa68]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x456e57
test dl, dl
je 0x456e53
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x456e57
add eax, 2
add ecx, 2
test dl, dl
jne 0x456e37
xor eax, eax
jmp 0x456e5c
sbb eax, eax
or eax, 1
test eax, eax
je 0x456e6d
pop edi
lea eax, [esi + 0xa68]
pop esi
pop ebx
pop ebp
ret 8
mov eax, dword [esi]
push 0
push esi
call dword [eax + 0x70]
pop edi
pop esi
pop ebx
pop ebp
ret 8
test eax, eax
je 0x456f34
lea edi, [esi + 0xa3c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x456f1e
lea ebx, [ebx]
test byte [edi], 0x10
je 0x456f0d
lea ecx, [esi + 0xa68]
mov edx, 0x4e51ec
mov eax, ecx
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x456ed2
test bl, bl
je 0x456ece
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x456ed2
add eax, 2
add edx, 2
test bl, bl
jne 0x456eb2
xor eax, eax
jmp 0x456ed7
sbb eax, eax
or eax, 1
test eax, eax
je 0x456f0d
mov eax, 0x4e51f0
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x456f00
test dl, dl
je 0x456efc
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x456f00
add ecx, 2
add eax, 2
test dl, dl
jne 0x456ee0
xor eax, eax
jmp 0x456f05
sbb eax, eax
or eax, 1
test eax, eax
jne 0x456e60
push edi
push dword [esi + 0xa38]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x456ea0
push dword [esi + 0xa38]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esi + 0xa38], 0
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
Function at 0x4591b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x519510]
push 3
push 0
push 0
push dword [ebp + 0xc]
push 0
push dword [eax + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
seta al
pop ebp
ret 8
Function at 0x465650
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0256
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x515de0]
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 dword [ebp - 0x2b0], ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2b4], esi
cmp dword [eax + 0x14], 8
jb 0x465698
mov eax, dword [eax]
lea ecx, [ebp - 0x2a8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x465855
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
jmp 0x4656d0
cmp word [ebp - 0x27c], 0
jne 0x4656de
xor eax, eax
jmp 0x4656f6
lea eax, [ebp - 0x27c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4656e7
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00448950
push 1
push 0x4e6708
push dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push 0
call fcn.00465cd0
test eax, eax
je 0x465827
push 2
push 0x4e670c
push dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push 0
call fcn.00465cd0
test eax, eax
je 0x465827
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.00456ab0
add esp, 0xc
test byte [ebp - 0x2a8], 0x10
mov byte [ebp - 4], 1
jne 0x465812
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00465d60
add esp, 8
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
mov ecx, dword [0x51a3c8]
cmovae eax, dword [ebp - 0x40]
push 0
push eax
mov byte [ebp - 4], 2
call fcn.00495620
mov edi, eax
test edi, edi
je 0x465801
push 0x1c
call fcn.004c3c3a
mov esi, eax
add esp, 4
mov dword [ebp - 0x2ac], esi
mov byte [ebp - 4], 3
test esi, esi
je 0x4657da
push edi
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00433cd0
mov ecx, esi
call fcn.00465150
jmp 0x4657dc
xor eax, eax
mov ecx, dword [ebp - 0x2b0]
mov dword [ebp - 0x2ac], eax
lea eax, [ebp - 0x2ac]
push eax
mov byte [ebp - 4], 2
lea ecx, [ecx + 0x6c]
call fcn.004b5d80
mov esi, dword [ebp - 0x2b4]
cmp dword [ebp - 0x2c], 0x10
jb 0x465812
push dword [ebp - 0x40]
call fcn.004c3c8b
add esp, 4
cmp dword [ebp - 0x44], 8
mov byte [ebp - 4], 0
jb 0x465827
push dword [ebp - 0x58]
call fcn.004c3c8b
add esp, 4
lea eax, [ebp - 0x2a8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4656d0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x14], 8
jb 0x465855
push dword [ebp - 0x28]
call fcn.004c3c8b
add esp, 4
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.004c4554
mov esp, ebp
pop ebp
ret 8
Function at 0x472c80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e07d4
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x515de0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0
mov dword [edi], vtable.CM3.0
lea ecx, [edi + 0x3a0]
push 0
mov dword [edi + 0x3a0], 0
mov dword [edi + 0x3a4], 0
call fcn.00452920
mov dword [edi + 0x3a0], eax
push 0
push 0
lea ecx, [edi + 0x3a8]
mov dword [ebp - 4], 0
mov dword [edi + 0x3a8], 0
mov dword [edi + 0x3ac], 0
call fcn.00452920
mov dword [edi + 0x3a8], eax
push 0
push 0
lea ecx, [edi + 0x3b0]
mov byte [ebp - 4], 1
mov dword [edi + 0x3b0], 0
mov dword [edi + 0x3b4], 0
call fcn.00452920
mov dword [edi + 0x3b0], eax
push 0x473300
push 0x472c60
push 0xa
push 0x50
lea eax, [edi + 0x3f8]
mov byte [ebp - 4], 2
push eax
call fcn.004c633e
lea ecx, [edi + 0x850]
call fcn.00473150
mov dword [edi + 0x19bc], 0xf
mov dword [edi + 0x19b8], 0
mov byte [edi + 0x19a8], 0
mov dword [edi + 0x19d4], 0xf
mov dword [edi + 0x19d0], 0
mov byte [edi + 0x19c0], 0
mov dword [edi + 0x19ec], 0xf
mov dword [edi + 0x19e8], 0
mov byte [edi + 0x19d8], 0
mov dword [edi + 0x1a04], 0xf
mov dword [edi + 0x1a00], 0
mov byte [edi + 0x19f0], 0
movsd xmm0, qword [0x4e3758]
lea eax, [edi + 4]
push 0x39c
push 0
push eax
mov byte [ebp - 4], 5
mov dword [edi + 0x2d48], 0
movsd qword [edi + 0x3c0], xmm0
mov byte [edi + 0x1a0c], 0
call fcn.004c56b0
push 0x12c8
lea eax, [edi + 0x1a50]
push 0
push eax
call fcn.004c56b0
xorps xmm0, xmm0
mov dword [edi + 0x1378], 0xff
push 0x6a8
mov dword [edi + 0x1980], 0
mov dword [edi + 0x1984], 0
mov dword [edi + 0x1988], 0
mov dword [edi + 0x1a10], 0
mov dword [edi + 0x1a14], 0
mov dword [edi + 0x1a18], 0
mov dword [edi + 0x197c], 0
mov dword [edi + 0x1a08], 0
movups xmmword [edi + 0x3c8], xmm0
call fcn.004c3c3a
add esp, 0x1c
test eax, eax
je 0x472ee9
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x690], 0
mov dword [eax + 0x694], 0
mov dword [eax + 0x698], 0
mov dword [edi + 0x2d34], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x2d34], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x47fa40
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0cef
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x515de0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0
push 0
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.00452920
mov dword [edi], eax
push 0
push 0
lea ecx, [edi + 8]
mov dword [ebp - 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.00452920
mov dword [edi + 8], eax
push 0
push 0
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 1
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.00452920
mov dword [edi + 0x10], eax
push 0
push 0
lea ecx, [edi + 0x18]
mov byte [ebp - 4], 2
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
call fcn.00452920
mov dword [edi + 0x18], eax
push 0
push 0
lea ecx, [edi + 0x20]
mov byte [ebp - 4], 3
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
call fcn.00452920
mov dword [edi + 0x20], eax
push 0
push 0
lea ecx, [edi + 0x28]
mov byte [ebp - 4], 4
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.00452920
mov dword [edi + 0x28], eax
push 0
push 0
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 5
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
call fcn.00452920
mov dword [edi + 0x30], eax
mov eax, edi
mov byte [edi + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret