joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401320
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a0
mov eax, dword [0x42e008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 0x202
mov word [ebp - 0x29c], ax
lea ecx, [ebp - 0x298]
push ecx
movzx edx, word [ebp - 0x29c]
push edx
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [ebp - 0x2a0], eax
cmp dword [ebp - 0x2a0], 0
je 0x40137e
mov eax, dword [ebp - 0x2a0]
push eax
push str.WSAStartup_failed_with_error:__d_n
call fcn.00409334
add esp, 8
xor eax, eax
jmp 0x4014f9
movzx ecx, word [ebp - 0x298]
and ecx, 0xff
movzx edx, cl
cmp edx, 2
jne 0x4013aa
movzx eax, word [ebp - 0x298]
shr eax, 8
and eax, 0xff
movzx ecx, al
cmp ecx, 2
je 0x4013c4
push str.Could_not_find_a_usable_version_of_Winsock.dll_n
call fcn.00409334
add esp, 4
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
jmp 0x4014f9
mov byte [ebp - 0x108], 0
push 0x103
push 0
lea edx, [ebp - 0x107]
push edx
call fcn.0040fb00
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x108]
push eax
call fcn.0040fb00
add esp, 0xc
lea ecx, [ebp - 0x108]
push ecx
call fcn.004019d0
add esp, 4
call dword [sym.imp.WS2_32.dll_WSACleanup]
push 0x42b020
lea edx, [ebp - 0x108]
push edx
call fcn.00401d80
add esp, 8
test eax, eax
jne 0x4014f0
push 0x42b028
lea eax, [ebp - 0x108]
push eax
call fcn.00401d80
add esp, 8
test eax, eax
jne 0x4014f0
push 0x42b030
lea ecx, [ebp - 0x108]
push ecx
call fcn.00401d80
add esp, 8
test eax, eax
jne 0x4014f0
push 0x42b038
lea edx, [ebp - 0x108]
push edx
call fcn.00401d80
add esp, 8
test eax, eax
jne 0x4014f0
push 0x42b040
lea eax, [ebp - 0x108]
push eax
call fcn.00401d80
add esp, 8
test eax, eax
jne 0x4014f0
push 0x42b048
lea ecx, [ebp - 0x108]
push ecx
call fcn.00401d80
add esp, 8
test eax, eax
jne 0x4014f0
push 0x42b050
lea edx, [ebp - 0x108]
push edx
call fcn.00401d80
add esp, 8
test eax, eax
jne 0x4014f0
push 0x42b058
lea eax, [ebp - 0x108]
push eax
call fcn.00401d80
add esp, 8
test eax, eax
jne 0x4014f0
push 0x42b060
lea ecx, [ebp - 0x108]
push ecx
call fcn.00401d80
add esp, 8
test eax, eax
je 0x4014f4
xor eax, eax
jmp 0x4014f9
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409310
mov esp, ebp
pop ebp
ret
Function at 0x401da0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421318
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x42e008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x42b1bc
lea ecx, [ebp - 0x28]
call fcn.00402ab0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00401fc0
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401e17
mov byte [ebp - 0x2b], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401fe0
mov al, byte [ebp - 0x2b]
jmp 0x401e51
call fcn.00403d10
movzx eax, al
test eax, eax
je 0x401e3b
mov byte [ebp - 0x2a], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401fe0
mov al, byte [ebp - 0x2a]
jmp 0x401e51
mov byte [ebp - 0x29], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401fe0
mov al, byte [ebp - 0x29]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00409310
mov esp, ebp
pop ebp
ret

Function at 0x4037e0
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x42e008]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.0040fb00
add esp, 0xc
push 0x208
push 0
lea edx, [ebp - 0x20c]
push edx
call fcn.0040fb00
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea ecx, [ebp - 0x20c]
push ecx
call fcn.00403960
add esp, 8
xor edx, edx
mov word [eax + 2], dx
lea eax, [ebp - 0x20c]
add eax, 0xfffffffe
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 0x214]
mov dx, word [ecx + 2]
mov word [ebp - 0x216], dx
add dword [ebp - 0x214], 2
cmp word [ebp - 0x216], 0
jne 0x403863
mov edi, dword [ebp - 0x214]
mov eax, dword [str.MD5.exe]
mov dword [edi], eax
mov ecx, dword [0x42b248]
mov dword [edi + 4], ecx
mov edx, dword [0x42b24c]
mov dword [edi + 8], edx
mov eax, dword [0x42b250]
mov dword [edi + 0xc], eax
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0xffffffff
jne 0x4038de
xor eax, eax
jmp 0x40394a
push 0
lea edx, [ebp - 0x220]
push edx
push 0x10a00
push 0x42f408
mov eax, dword [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x40391e
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x40394a
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
push 0x42b254
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409310
mov esp, ebp
pop ebp
ret
Function at 0x403980
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x42e008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 0
push 0
push 0
mov esi, 1
mov dword [ebp - 0x408], 0
push str.Mozilla_4.0__compatible_
mov edi, ecx
mov dword [ebp - 0x40c], esi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x410], eax
test eax, eax
jne 0x4039db
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409310
mov esp, ebp
pop ebp
ret
push 0
push closesocket
push 0
push 0
push edi
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edi, eax
test edi, edi
je 0x4039c9
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x403a00
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.0040fb00
add esp, 0xc
lea eax, [ebp - 0x408]
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push edi
call ebx
test esi, esi
je 0x403a3e
mov eax, 0x5a4d
cmp word [ebp - 0x404], ax
jne 0x403a4a
xor esi, esi
cmp dword [ebp - 0x408], esi
ja 0x403a00
jmp 0x403a54
mov dword [ebp - 0x40c], 0
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push dword [ebp - 0x410]
call esi
cmp dword [ebp - 0x40c], 0
mov ecx, dword [ebp - 4]
pop ebx
setne al
xor ecx, ebp
pop edi
pop esi
call fcn.00409310
mov esp, ebp
pop ebp
ret
Function at 0x403a80
Capabilities:
Contain obfuscated stackstrings
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
mov eax, dword [0x42e008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov dword [ebp - 0x2b4], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x2b4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
xor ecx, ecx
mov dword [ebp - 0x4c], 0x510051
xor bl, bl
mov dword [ebp - 0x48], 0x430050
mov dword [ebp - 0x44], 0x540052
mov dword [ebp - 0x40], 0x2e0050
mov dword [ebp - 0x3c], 0x780065
mov dword [ebp - 0x38], 0x65
mov dword [ebp - 0x34], 0x360033
mov dword [ebp - 0x30], 0x740030
mov dword [ebp - 0x2c], 0x610072
mov dword [ebp - 0x28], 0x2e0079
mov dword [ebp - 0x24], 0x780065
mov dword [ebp - 0x20], 0x65
mov dword [ebp - 0x88], 0x610042
mov dword [ebp - 0x84], 0x640069
mov dword [ebp - 0x80], 0x530075
mov dword [ebp - 0x7c], 0x530064
mov dword [ebp - 0x78], 0x630076
mov dword [ebp - 0x74], 0x65002e
mov dword [ebp - 0x70], 0x650078
mov word [ebp - 0x6c], cx
mov dword [ebp - 0x68], 0x78006b
mov dword [ebp - 0x64], 0x730065
mov dword [ebp - 0x60], 0x6f0063
mov dword [ebp - 0x5c], 0x650072
mov dword [ebp - 0x58], 0x65002e
mov dword [ebp - 0x54], 0x650078
mov word [ebp - 0x50], cx
mov dword [ebp - 0x1c], 0x610072
mov dword [ebp - 0x18], 0x6d0076
mov dword [ebp - 0x14], 0x6e006f
mov dword [ebp - 0x10], 0x2e0064
mov dword [ebp - 0xc], 0x780065
mov dword [ebp - 8], 0x65
test eax, eax
je 0x403c3f
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.0040a330
add esp, 8
test eax, eax
je 0x403c3d
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.0040a330
add esp, 8
test eax, eax
je 0x403c3d
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.0040a330
add esp, 8
test eax, eax
je 0x403c3d
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.0040a330
add esp, 8
test eax, eax
je 0x403c3d
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.0040a330
add esp, 8
test eax, eax
je 0x403c3d
lea eax, [ebp - 0x2b4]
push eax
push esi
call edi
test eax, eax
jne 0x403bb3
jmp 0x403c3f
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409310
mov esp, ebp
pop ebp
ret
Function at 0x407190
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x42e008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edx, ecx
lea esi, [ecx + 1]
jmp 0x4071b0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4071b0
sub ecx, esi
mov dword [ebp - 0x7c], 0
push ecx
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x90], 0x67452301
mov dword [ebp - 0x8c], 0xefcdab89
mov dword [ebp - 0x88], 0x98badcfe
mov dword [ebp - 0x84], 0x10325476
call fcn.004068c0
add esp, 4
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0x14]
call fcn.00406990
xor esi, esi
lea edi, [ebp - 0x37]
mov bl, byte [ebp + esi - 0x14]
movzx eax, bl
push eax
lea eax, [edi - 1]
push str._02x
push eax
call fcn.00409797
shl bl, 4
movzx eax, bl
push eax
push str._02x
push edi
call fcn.00409797
inc esi
add esp, 0x18
add edi, 2
cmp esi, 0x10
jl 0x407211
push 0x20
lea eax, [ebp - 0x38]
push eax
push 0x440f10
call fcn.0040aa30
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
mov eax, 0x440f10
pop edi
pop esi
pop ebx
call fcn.00409310
mov esp, ebp
pop ebp
ret
Function at 0x408d50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x42e008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x42c1a4
push ecx
lea eax, [ebp - 0x14]
mov edi, edx
push eax
xor esi, esi
call fcn.0041e924
mov eax, dword [ebp - 0x14]
add esp, 0xc
test eax, eax
je 0x408dfc
push esi
push 0x64
push eax
call fcn.0041e9f8
add esp, 0xc
cmp eax, 0xffffffff
je 0x408ddf
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push 1
push 0xa
push eax
call fcn.0041ee1b
add esp, 0x10
cmp eax, 1
jne 0x408ddf
lea eax, [ebp - 0x10]
push eax
call fcn.00416e25
push 0
push 0x73
push dword [ebp - 0x14]
mov esi, eax
call fcn.0041e9f8
add esp, 0x10
cmp eax, 0xffffffff
je 0x408ddf
push dword [ebp - 0x14]
push 1
push 0x4f
push edi
call fcn.0041ee1b
xor ecx, ecx
add esp, 0x10
cmp eax, 1
cmovne esi, ecx
push dword [ebp - 0x14]
call fcn.00416501
add esp, 4
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409310
mov esp, ebp
pop ebp
ret
push str.fopen_error
call fcn.00409334
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor eax, eax
pop edi
pop esi
call fcn.00409310
mov esp, ebp
pop ebp
ret

Function at 0x409020
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x42e008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x1c], eax
mov bl, 1
mov eax, dword [ebp + 0xc]
push 0x42c1c8
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x18], ecx
push eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call fcn.0041e924
add esp, 0xc
test eax, eax
je 0x409079
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409310
mov esp, ebp
pop ebp
ret 0xc
push esi
push edi
push dword [ebp - 8]
call fcn.0041f257
push 2
push 0
push dword [ebp - 8]
mov esi, eax
call fcn.0041e9f8
push dword [ebp - 8]
call fcn.0041f257
push 0
push esi
push dword [ebp - 8]
mov edi, eax
call fcn.0041e9f8
push edi
call fcn.00409307
push dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 1
push edi
push eax
call fcn.0041ee1b
lea eax, [edi + edi*2]
push eax
mov dword [ebp - 0x10], eax
call fcn.00409307
mov esi, eax
mov eax, dword [ebp - 0x18]
sub edi, eax
push edi
mov edi, dword [ebp - 0x14]
add eax, edi
push eax
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.00419690
add esp, 0x48
test eax, eax
je 0x4090ea
xor bl, bl
jmp 0x409117
push 0x42c1cc
push dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
push eax
call fcn.0041e924
add esp, 0xc
test eax, eax
je 0x409106
xor bl, bl
jmp 0x409117
push dword [ebp - 0xc]
push 1
push dword [ebp - 0x10]
push esi
call fcn.0041ebd4
add esp, 0x10
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x409127
push eax
call fcn.00416501
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x409137
push eax
call fcn.00416501
add esp, 4
test edi, edi
je 0x409144
push edi
call fcn.00409837
add esp, 4
test esi, esi
je 0x409151
push esi
call fcn.00409837
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409310
mov esp, ebp
pop ebp
ret 0xc
Function at 0x414f1e
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42e008]
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.0040ec50
mov dword [ebp - 0x14], eax
cmp dword [0x440ebc], esi
jne 0x415011
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x414f9e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4150f1
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4150f1
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4150f1
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x440ebc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x440ec0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x440ec4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x440ecc], eax
test eax, eax
je 0x41500e
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x440ec8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x415036
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x415029
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x41504b
push 4
pop eax
jmp 0x4150f3
cmp dword [ebp - 0x14], esi
je 0x41504b
push dword [0x440ebc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x415030
mov eax, dword [0x440ec8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4150a9
cmp dword [0x440ecc], edi
je 0x4150a9
push eax
call ebx
push dword [0x440ecc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4150a9
test eax, eax
je 0x4150a9
call ecx
test eax, eax
je 0x41509e
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 0x41509e
test byte [ebp - 8], 1
jne 0x4150a9
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4150d9
mov eax, dword [0x440ec0]
cmp eax, edi
je 0x4150d6
push eax
call ebx
test eax, eax
je 0x4150d6
call eax
mov esi, eax
test esi, esi
je 0x4150d6
mov eax, dword [0x440ec4]
cmp eax, edi
je 0x4150d6
push eax
call ebx
test eax, eax
je 0x4150d6
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x440ebc]
call ebx
test eax, eax
je 0x4150f1
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4150f3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409310
mov esp, ebp
pop ebp
ret
Function at 0x41bff0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x41bffc
pop ebp
ret
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.0041c010

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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x24
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + 0x78]
mov ebx, dword [edx + 0x8c]
cmp eax, ebx
mov eax, dword [edx + 0x34]
mov ebx, dword [edx + 0x7c]
jl 0x41db35
shr ebx, 2
dec ebx
shl ebx, 0x10
or ebx, eax
mov dword [esp], ebx
mov eax, dword [edx + 0x90]
mov ebx, dword [edx + 0x74]
cmp ebx, eax
jl 0x41db4d
mov ebx, eax
mov dword [esp + 0x18], ebx
mov esi, dword [edx + 0x38]
mov dword [esp + 4], esi
mov ebp, dword [edx + 0x6c]
lea edi, [ebp + esi]
mov dword [esp + 0x20], edi
mov eax, edi
neg eax
and eax, 3
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x2c]
sub eax, 0x106
sub ebp, eax
jg 0x41db7c
xor ebp, ebp
mov eax, dword [edx + 0x78]
mov dword [esp + 0x1c], eax
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [edi]
mov dword [esp + 0x10], ebx
movzx ebx, word [eax + edi - 1]
mov dword [esp + 0xc], ebx
mov edi, dword [edx + 0x40]
mov edx, dword [esp]
jmp 0x41dbbe
and ecx, edx
movzx ecx, word [edi + ecx*2]
cmp ecx, ebp
jbe 0x41dc92
sub edx, 0x10000
js 0x41dc92
movzx eax, word [ecx + esi - 1]
cmp eax, ebx
jne 0x41dba4
mov eax, dword [esp + 4]
movzx eax, word [ecx + eax]
cmp eax, dword [esp + 0x10]
jne 0x41dba4
mov dword [esp], edx
mov esi, dword [esp + 4]
mov edi, dword [esp + 0x20]
add esi, ecx
mov eax, dword [esp + 0x14]
mov edx, 0xfffffef8
lea edi, [eax + edi + 0x108]
lea esi, [eax + esi + 0x108]
mov eax, dword [edx + esi]
xor eax, dword [edx + edi]
jne 0x41dc15
mov eax, dword [edx + esi + 4]
xor eax, dword [edx + edi + 4]
jne 0x41dc12
add edx, 8
jne 0x41dbf9
jmp 0x41dc83
add edx, 4
test eax, 0xffff
jne 0x41dc22
add edx, 2
shr eax, 0x10
sub al, 1
adc edx, 0
lea eax, [edx + edi]
mov edi, dword [esp + 0x20]
sub eax, edi
cmp eax, 0x102
jge 0x41dc83
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
cmp eax, ebx
jg 0x41dc56
mov esi, dword [esp + 8]
mov edi, dword [edx + 0x40]
mov ebx, dword [esp + 0xc]
mov edx, dword [esp]
jmp 0x41dba4
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [edx + 0x70], ecx
cmp eax, ebx
jge 0x41dc92
mov esi, dword [esp + 4]
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [eax + edi - 1]
mov edi, dword [edx + 0x40]
mov dword [esp + 0xc], ebx
mov edx, dword [esp]
jmp 0x41dba4
mov edx, dword [esp + 0x38]
mov dword [esp + 0x1c], 0x102
mov dword [edx + 0x70], ecx
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
mov eax, dword [edx + 0x74]
cmp ebx, eax
jg 0x41dca3
mov eax, ebx
add esp, 0x24
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x401000
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
je 0x4010bd
cmp dword [esp + 0x34], 2
jne 0x4010b6
push 0x40
lea eax, [esp + 0x40]
mov dword [esp + 0x3c], 0x44
push 0
push eax
call fcn.004021b0
add esp, 0xc
xor edi, edi
push dword [esi + 4]
call fcn.00404936
add esp, 4
test eax, eax
jle 0x4010b2
lea eax, [esp + 0x80]
xorps xmm0, xmm0
push eax
lea eax, [esp + 0x3c]
movaps xmmword [esp + 0x84], xmm0
push eax
push 0
push 0
push 0
push 1
push 0
push 0
push dword [esi]
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [esi + 4]
inc edi
call fcn.00404936
add esp, 4
cmp edi, eax
jl 0x401074
mov edi, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
push 0x4164d0
push 0x67
push edi
call esi
push 0x64
push 0x416408
push 0x6d
push edi
call esi
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 0x6b
push edi
mov dword [esp + 0x40], 0x30
mov dword [esp + 0x44], 3
mov dword [esp + 0x48], 0x401240
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], edi
call esi
push 0x7f00
push 0
mov dword [esp + 0x58], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x6b
push dword [esp + 0x50]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 6
mov dword [esp + 0x64], 0x6d
mov dword [esp + 0x68], 0x416408
call esi
mov dword [esp + 0x64], eax
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push edi
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x4164d0
push 0x416408
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
jne 0x40119e
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.0040126a
mov esp, ebp
pop ebp
ret 0x10
push 7
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x6d
push edi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
push 0
push eax
call esi
test eax, eax
je 0x40121a
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
nop dword [eax + eax]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x401209
lea eax, [esp + 0x18]
push eax
call edi
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
call esi
test eax, eax
jne 0x4011e0
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x20]
pop edi
pop esi
xor ecx, esp
call fcn.0040126a
mov esp, ebp
pop ebp
ret 0x10
Function at 0x401aa0
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401adf
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401adf
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401adf
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401adf
cmp dword [ecx + 0x74], 0xe
jbe 0x401adf
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4021a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmp al, 3
clc
movzx eax, word [edi + 0x14]
lea esi, [eax + edi + 0x18]
mov dword [ebp - 0x44], esi
call fcn.00401fa2
std
invalid
invalid
call 0xf83e98a
mov bh, 0x47
push es
lea eax, [eax + eax*4]
shl eax, 3
sub eax, dword [ebp + 0x10]
add eax, esi
mov dword [ebp - 0xb4], eax
mov dword [ebp - 8], eax
call fcn.00401fa2
mov eax, dword [0x663b2ca7]
mov eax, dword [edi + 6]
cmp ax, bx
jbe 0x4021fc
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x4021f6
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x4021e7
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.00401fa2
invalid