joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4161a1
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x41dd80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
xor edi, edi
push eax
mov dword [ebp - 0xc], edi
call fcn.004069e0
or eax, eax
pop ecx
je 0x4161d6
push edi
push edi
push edi
push edi
push edi
call fcn.0040917c
add esp, 0x14
push 4
pop eax
call fcn.004178d0
mov dword [ebp - 0x14], esp
push 0x1c
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4162e4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x58]
dec esi
neg esi
sbb esi, esi
and esi, 0x103
inc esi
cmp dword [ebp - 0xc], 2
mov dword [ebp - 8], edi
jne 0x41625d
push 0x401ad8
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, edi
je 0x41625d
push 0x402d18
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x41625d
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x10], edi
call eax
cmp eax, 1
jne 0x41625d
mov eax, dword [ebp - 0x10]
cmp eax, edi
jbe 0x41625d
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea edi, [ebx - 1]
push edi
push dword [ebp - 8]
call fcn.004071dd
add esp, 0xc
test eax, eax
jl 0x4162e4
not edi
and dword [ebp - 8], edi
je 0x41628f
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp - 8]
call fcn.004071dd
add esp, 0xc
test eax, eax
jl 0x4162e4
lea eax, [ebx + ebx]
cmp dword [ebp - 8], eax
jae 0x41629a
mov dword [ebp - 8], eax
lea edi, [ebx - 1]
not edi
and edi, dword [ebp - 0x14]
sub edi, dword [ebp - 8]
cmp dword [ebp - 0xc], 1
jne 0x4162ae
push 0x11
pop ebx
mov eax, dword [ebp - 0x18]
add ebx, eax
cmp edi, ebx
jb 0x4162e4
push 4
push 0x1000
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x4162e4
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x4162e4
xor eax, eax
inc eax
jmp 0x4162e6
xor eax, eax
lea esp, [ebp - 0x68]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040dd21
leave
ret
Function at 0x4178fb
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x41dd80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x41fab4]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push edi
xor edi, edi
cmp eax, edi
jne 0x41794f
push edi
push edi
xor ebx, ebx
inc ebx
push ebx
push edi
call esi
test eax, eax
je 0x417935
mov dword [0x41fab4], ebx
jmp 0x417954
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x41794a
push 2
pop eax
mov dword [0x41fab4], eax
jmp 0x41794f
mov eax, dword [0x41fab4]
cmp eax, 1
jne 0x417967
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call esi
jmp 0x417a26
cmp eax, 2
je 0x417970
cmp eax, edi
jne 0x417999
cmp dword [ebp + 0x1c], edi
mov dword [ebp - 8], edi
jne 0x417983
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 0x1c], eax
push edi
push edi
push dword [ebp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push dword [ebp + 0xc]
call edi
mov ebx, eax
test ebx, ebx
jne 0x4179a0
xor eax, eax
jmp 0x417a26
jle 0x4179e6
push 0xffffffffffffffe0
xor edx, edx
pop eax
div ebx
cmp eax, 1
jb 0x4179e6
lea eax, [ebx + 8]
cmp eax, 0x400
ja 0x4179ce
call fcn.00416300
mov esi, esp
test esi, esi
je 0x417999
mov dword [esi], 0xcccc
add esi, 8
jmp 0x4179e8
push eax
call fcn.0040caaa
test eax, eax
pop ecx
je 0x4179e2
mov dword [eax], 0xdddd
add eax, 8
mov esi, eax
jmp 0x4179e8
xor esi, esi
test esi, esi
je 0x417999
push ebx
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call edi
test eax, eax
je 0x417a1c
xor eax, eax
cmp dword [ebp + 0x18], eax
jne 0x417a05
push eax
push eax
jmp 0x417a0b
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 0xffffffffffffffff
push esi
push 1
push dword [ebp + 0x1c]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 8], eax
push esi
call fcn.004113c0
mov eax, dword [ebp - 8]
pop ecx
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040dd21
leave
ret
Function at 0x419cb0
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov byte [ebp - 1], 0x63
mov dword [ebp - 8], 0x3299
mov eax, dword [ebp - 8]
add eax, 0xffffcd67
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [sym.imp.KERNEL32.dll_ExitProcess]
call eax
sub esp, 4
mov dl, byte [ebp - 1]
add dl, 0xfe
movsx eax, dl
add esp, 0xc
pop ebp
ret
push 0xf0
push 0x41bcb8
call fcn.00408088
push dword [0x41d0b0]
call fcn.0040804d
pop ecx
mov dword [0x41d0b0], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 0xb0], 0x94
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x405c67
mov ecx, dword [ebp - 0xa4]
and ecx, 0x7fff
mov edi, dword [ebp - 0xa0]
cmp edi, 2
je 0x405b0e
or ecx, 0x8000
mov edx, dword [ebp - 0xac]
mov eax, edx
shl eax, 8
mov esi, dword [ebp - 0xa8]
add eax, esi
mov dword [0x41f064], edi
mov dword [0x41f06c], eax
mov dword [0x41f070], edx
mov dword [0x41f074], esi
mov dword [0x41f068], ecx
call fcn.00405a59
mov dword [ebp - 0xb8], eax
xor ebx, ebx
inc ebx
push ebx
call fcn.00407f15
pop ecx
test eax, eax
jne 0x405b5f
push 0x1c
call fcn.00405a30
pop ecx
call fcn.00407d39
test eax, eax
jne 0x405b70
push 0x10
call fcn.00405a30
pop ecx
mov dword [ebp - 4], ebx
call fcn.00407620
test eax, eax
jge 0x405b84
push 0x1b
call fcn.00406945
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x420c44], eax
call fcn.004074e9
mov dword [0x41f054], eax
call fcn.00407400
test eax, eax
jge 0x405baa
push 8
call fcn.00406945
pop ecx
call fcn.0040709d
test eax, eax
jge 0x405bbb
push 9
call fcn.00406945
pop ecx
push ebx
call fcn.00406a9e
pop ecx
test eax, eax
je 0x405bcd
push eax
call fcn.00406945
pop ecx
call fcn.0040703e
test byte [ebp - 0xd4], bl
je 0x405be3
movzx ecx, word [ebp - 0xd0]
jmp 0x405be6
push 0xa
pop ecx
push ecx
push eax
push 0
push 0x400000
call fcn.00405240
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb8], 0
jne 0x405c09
push eax
call fcn.00406bf4
call fcn.00406c20
jmp 0x405c4a
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0xb4]
jmp 0x405c6c
mov eax, 0xff
call fcn.004080d0
ret
call fcn.0040829c
jmp 0x405a9a
push ebp
mov ebp, esp
mov dword [0x41e008], edi
mov dword [0x41e00c], ebx
mov dword [0x41e004], esi
call fcn.00405100
test eax, eax
je 0x405200
xchg ebx, eax
xchg ebx, eax
call fcn.00419ce0
pop ebp
jmp 0x405c72
Function at 0x41a620
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [esp + 0x34], 0x1e1d
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 0x365a7c
mov dword [esp + 0x24], 0x302b2f6d
mov dword [esp + 0x20], 0x2c4e422c
mov dword [esp + 0x1c], 0x7467533a
mov dword [esp + 0x18], 0x722d2a21
lea eax, [esp + 0x1f]
mov si, word [esp + 0x38]
or si, 0x4dee
mov word [esp + 0x38], si
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x30], eax
jae 0x41a6f4
mov eax, 0xc
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x30]
mov dword [esp + 8], eax
mov eax, esi
xor esi, esi
mov dword [esp + 4], edx
mov edx, esi
mov esi, dword [esp + 8]
div esi
mov bl, byte [ecx + edx]
mov ecx, dword [esp + 0x34]
add ecx, 0xffffe1e4
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 4]
movzx edx, byte [edx + edi]
movzx esi, bl
mov edi, dword [esp + 0xc]
sub edx, esi
mov bl, dl
mov edx, dword [esp + 0x30]
mov byte [edi + edx], bl
add ecx, dword [esp + 0x30]
mov dword [esp + 0x30], ecx
jmp 0x41a690
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401320
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor ebx, ebx
cmp byte [ebp + 0x10], bl
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
je 0x4013c4
lea eax, [ebp + 0x10]
push eax
mov dword [ebp + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [ebp + 0x10], 3
mov esi, eax
jl 0x4013a8
push dword [esi + 4]
push str._stdio
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x4013a8
push ebx
push ebx
push 4
push ebx
push ebx
push 0xc0000000
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x40138c
push 5
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esi, dword [sym.imp.KERNEL32.dll_SetStdHandle]
push eax
push 0xfffffffffffffff6
call esi
test eax, eax
je 0x401384
push dword [ebp - 4]
push 0xfffffffffffffff5
call esi
test eax, eax
jne 0x4013c4
jmp 0x401384
push str.AttachConsole
push str.kernel32.dll
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4013c4
push 0xffffffffffffffff
call eax
pop ecx
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ebp + 8]
mov dword [ebp + 0x10], ebx
call fcn.0040107d
add esp, 0x10
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x401464
mov eax, dword [section..data]
mov esi, dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
mov dword [ebp - 4], eax
lea eax, [ebp + 0x10]
push eax
push ebx
push ebx
mov edi, str..air
push edi
push 2
push ebx
mov dword [ebp + 0x10], ebx
call esi
cmp eax, 1
jne 0x40144e
mov eax, dword [ebp + 0x10]
add eax, eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
lea ecx, [ebp + 0x10]
push ecx
push eax
push ebx
push edi
push 2
push ebx
mov dword [ebp - 8], eax
call esi
test eax, eax
jne 0x40143d
mov eax, dword [str.This_application_requires_a_version_of_nAdobe_AIR_which_is_no_longer_supported._nPlease_contact_the_application_nauthor_for_an_updated_version.]
mov dword [ebp - 4], eax
push dword [ebp - 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0x30
push str.Adobe_AIR
push dword [ebp - 4]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 0xc]
jmp 0x40146e
push dword [ebp + 0x10]
push ebx
call edi
push eax
call dword [ebp - 4]
push eax
jmp 0x401386
Function at 0x408e7d
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x408f31
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00408e0d
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x408f0a
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x408f3d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x408f58
test ebp, ebp
je 0x408f58
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x408f60
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x408fa0
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x408ffc
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x408ff7
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x408fe2
test dl, dl
je 0x408fde
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x408fe2
add ecx, 2
add eax, 2
test dl, dl
jne 0x408fc2
xor eax, eax
jmp 0x408fe7
sbb eax, eax
or eax, 1
test eax, eax
je 0x409006
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x408faf
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
Function at 0x40901d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push edi
mov edi, edx
mov ebx, ecx
call fcn.00408e7d
test eax, eax
jne 0x409035
pop edi
pop ebx
add esp, 0x10
ret
push esi
lea edx, [esp + 0xc]
mov ecx, eax
mov dword [esp + 0xc], 0x74726956
mov dword [esp + 0x10], 0x416c6175
mov dword [esp + 0x14], 0x636f6c6c
mov byte [esp + 0x18], 0
call fcn.00408f3d
mov esi, eax
test esi, esi
jne 0x40906b
pop esi
pop edi
pop ebx
add esp, 0x10
ret
push 0x40
push 0x3000
push edi
push ebx
call esi
test eax, eax
jne 0x409085
push 0x40
push 0x3000
push edi
push eax
call esi
pop esi
pop edi
pop ebx
add esp, 0x10
ret
Function at 0x40917d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x44
push esi
push edi
mov dword [esp + 0x1c], edx
mov edi, ecx
call fcn.00408e7d
mov esi, eax
test esi, esi
jne 0x40919b
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x64616f4c
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x41797261
mov byte [esp + 0x44], 0
call fcn.00408f3d
mov dword [esp + 0x18], eax
test eax, eax
je 0x409193
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x65657246
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x797261
call fcn.00408f3d
mov dword [esp + 0x34], eax
test eax, eax
je 0x409193
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x50746547
mov dword [esp + 0x3c], 0x41636f72
mov dword [esp + 0x40], 0x65726464
mov word [esp + 0x44], 0x7373
mov byte [esp + 0x46], 0
call fcn.00408f3d
mov dword [esp + 0x28], eax
test eax, eax
je 0x409193
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x4d746547
mov dword [esp + 0x3c], 0x6c75646f
mov dword [esp + 0x40], 0x6e614865
mov dword [esp + 0x44], 0x41656c64
mov byte [esp + 0x48], 0
call fcn.00408f3d
mov dword [esp + 0x30], eax
test eax, eax
je 0x409193
mov eax, dword [edi + 0x3c]
push ebx
cmp dword [eax + edi + 0x84], 0
push ebp
je 0x409362
mov ecx, dword [eax + edi + 0x80]
add ecx, edi
xor esi, esi
lea ebx, [ecx + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], esi
cmp dword [ebx], esi
je 0x409362
mov eax, ebx
mov ebp, ecx
mov eax, dword [eax]
add eax, edi
push eax
mov dword [esp + 0x2c], eax
call dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4092c5
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
add eax, edi
mov dword [esp + 0x14], 0
cmp dword [eax], 0
je 0x409346
mov dword [esp + 0x18], 0
nop
mov eax, dword [eax]
test eax, eax
jns 0x4092e8
movzx esi, ax
jmp 0x4092ed
lea esi, [edi + 2]
add esi, eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x40930c
push dword [esp + 0x58]
and eax, 0x80000000
push eax
push esi
push dword [esp + 0x34]
call ecx
mov ecx, eax
test ecx, ecx
jne 0x40931b
push esi
push dword [esp + 0x30]
call dword [esp + 0x38]
mov ecx, eax
test ecx, ecx
je 0x40936f
mov eax, dword [ebp + 0x10]
add eax, dword [esp + 0x18]
mov dword [eax + edi], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x14], ecx
shl ecx, 2
add eax, ecx
add eax, edi
mov dword [esp + 0x18], ecx
cmp dword [eax], 0
jne 0x4092dd
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
inc esi
mov dword [esp + 0x10], esi
lea eax, [esi + esi*4]
lea ebp, [ecx + eax*4]
cmp dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
jne 0x4092a2
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x44
ret
cmp dword [ebx], 0
je 0x409398
mov esi, dword [esp + 0x10]
xor ebp, ebp
lea ecx, [ecx]
cmp ebp, esi
ja 0x409398
mov eax, dword [ebx]
add eax, edi
push eax
call dword [esp + 0x3c]
push eax
call dword [esp + 0x40]
add ebx, 0x14
inc ebp
cmp dword [ebx], 0
jne 0x40937d
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret
Function at 0x4093ad
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, ecx
call fcn.00408e7d
mov esi, eax
test esi, esi
je 0x409469
push ebp
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x65657246
mov dword [esp + 0x14], 0x7262694c
mov dword [esp + 0x18], 0x797261
call fcn.00408f3d
mov ebp, eax
test ebp, ebp
je 0x409468
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x4d746547
mov dword [esp + 0x14], 0x6c75646f
mov dword [esp + 0x18], 0x6e614865
mov dword [esp + 0x1c], 0x41656c64
mov byte [esp + 0x20], 0
call fcn.00408f3d
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x409468
mov ecx, dword [edi + 0x3c]
cmp dword [ecx + edi + 0x84], 0
je 0x409468
push ebx
mov ebx, dword [ecx + edi + 0x80]
add ebx, edi
xor esi, esi
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x409467
lea ebx, [ebx]
add eax, edi
push eax
call edx
push eax
call ebp
mov edx, dword [esp + 0x10]
lea esi, [esi + 1]
lea eax, [esi + esi*4]
mov eax, dword [ebx + eax*4 + 0xc]
test eax, eax
jne 0x40944d
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x18
ret

Function at 0x409761
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x409815
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004096f1
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x4097ee
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409821
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x40983c
test ebp, ebp
je 0x40983c
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x409844
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x409884
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x4098e0
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x4098db
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4098c6
test dl, dl
je 0x4098c2
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4098c6
add ecx, 2
add eax, 2
test dl, dl
jne 0x4098a6
xor eax, eax
jmp 0x4098cb
sbb eax, eax
or eax, 1
test eax, eax
je 0x4098ea
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x409893
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret

Function at 0x409901
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, ecx
call fcn.00409761
mov esi, eax
test esi, esi
je 0x4099bd
push ebp
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x65657246
mov dword [esp + 0x14], 0x7262694c
mov dword [esp + 0x18], 0x797261
call fcn.00409821
mov ebp, eax
test ebp, ebp
je 0x4099bc
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x4d746547
mov dword [esp + 0x14], 0x6c75646f
mov dword [esp + 0x18], 0x6e614865
mov dword [esp + 0x1c], 0x41656c64
mov byte [esp + 0x20], 0
call fcn.00409821
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x4099bc
mov ecx, dword [edi + 0x3c]
cmp dword [ecx + edi + 0x84], 0
je 0x4099bc
push ebx
mov ebx, dword [ecx + edi + 0x80]
add ebx, edi
xor esi, esi
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4099bb
lea ebx, [ebx]
add eax, edi
push eax
call edx
push eax
call ebp
mov edx, dword [esp + 0x10]
lea esi, [esi + 1]
lea eax, [esi + esi*4]
mov eax, dword [ebx + eax*4 + 0xc]
test eax, eax
jne 0x4099a1
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x18
ret
Function at 0x422190
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5e278b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.005bd559
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x422212
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.005b9607
mov eax, dword [eax]
push 0x1cb9fac
push eax
call fcn.004a6d74
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.005bd7e4
test bl, bl
je 0x422212
push 0x1cb9fac
lea ecx, [esp + 0xc]
call fcn.005bdbc0
push 0x1cb9fb8
lea ecx, [esp + 0xc]
call fcn.005bdbc0
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x42224e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.005bd7e4
jmp 0x422319
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4222d2
lea edx, [esp + 0x7c]
push 0x1cb9fb4
push edx
call fcn.004a6d74
add esp, 8
test eax, eax
je 0x4222d2
lea eax, [esp + 0x7c]
push 0x1cb9fb0
push eax
call fcn.004a6d74
add esp, 8
test eax, eax
je 0x4222d2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x422262
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.005bd7e4
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4