joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406b60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449908
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x458974]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
push 8
mov dword [esi], ebx
call fcn.004314de
add esp, 4
cmp eax, ebx
je 0x406c44
mov dword [esi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [esi]
mov dword [eax], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
lea edi, [esi + 0x18]
push 8
mov dword [edi], ebx
call fcn.004314de
add esp, 4
cmp eax, ebx
je 0x406c20
mov dword [edi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [edi]
mov dword [ecx], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov eax, 0xf
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], ebx
mov byte [esi + 0x30], bl
mov dword [esi + 0x74], eax
mov dword [esi + 0x70], ebx
mov byte [esi + 0x60], bl
mov word [esi + 0x7c], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], ebx
call fcn.004316d4
push 0x44fa6c
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], vtable.std::bad_alloc.0
call fcn.00435fb0
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], ebx
call fcn.004316d4
push 0x44fa6c
lea edx, [ebp - 0x2c]
push edx
mov dword [ebp - 0x2c], vtable.std::bad_alloc.0
call fcn.00435fb0
int3

Function at 0x40a4b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 0x40a4a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
mov esp, ebp
pop ebp
ret
Function at 0x40b5e0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x21a0
call fcn.00432a60
mov eax, dword [0x458974]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x21a0]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [0x45d6a0], 0x94
push 0x45d6a0
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov dword [0x452534], 0x453fc8
push 0x45b280
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x45b300
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x45b2e0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x45b2c0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x45b260
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x45b2a0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x45b640
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x45b140
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x452438
call fcn.00418340
add esp, 4
call fcn.00417fe0
mov dword [ebp - 4], eax
mov ecx, dword [0x4524b0]
add ecx, 1
mov dword [0x4524b0], ecx
cmp dword [ebp - 4], 0
je 0x40b6b9
mov edx, dword [ebp - 4]
mov dword [ebp - 4], edx
jmp 0x40b6be
call fcn.0040aa00
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0043125e
mov esp, ebp
pop ebp
ret
Function at 0x4124e0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x18]
mov al, byte [edx]
mov byte [ebp - 0x1d], al
add dword [ebp - 0x18], 1
cmp byte [ebp - 0x1d], 0
jne 0x412503
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0xff
jbe 0x412531
mov edx, dword [ebp + 8]
mov byte [edx + 0xff], 0
mov dword [ebp - 0xc], 0
jmp 0x412543
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
test edx, edx
je 0x412591
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
cmp ecx, 0x2e
jne 0x412571
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 3
jle 0x41256f
jmp 0x412591
jmp 0x41253a
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
cmp ecx, 0x30
jl 0x41258d
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0xc]
movzx eax, byte [edx]
cmp eax, 0x39
jle 0x41258f
jmp 0x412591
jmp 0x41253a
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
test edx, edx
jne 0x4125c3
cmp dword [ebp - 8], 3
jne 0x4125c3
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00412440
add esp, 0xc
cmp eax, 4
jne 0x4125c3
mov eax, dword [ebp - 0x10]
jmp 0x41267b
mov edx, dword [0x459f64]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x41261f
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 2
call dword [ebp - 4]
add esp, 0xc
test eax, eax
je 0x4125ee
mov eax, dword [ebp - 0x10]
jmp 0x41267b
cmp dword [0x452530], 0
je 0x412606
mov edx, dword [0x452530]
push edx
call fcn.00432a8b
add esp, 4
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 2
call dword [ebp - 4]
add esp, 0xc
neg eax
sbb eax, eax
and eax, dword [ebp - 0x10]
jmp 0x41267b
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x412656
cmp dword [0x452530], 0
je 0x412656
mov eax, dword [0x452530]
push eax
call fcn.00432a8b
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41266b
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 0x28], edx
jmp 0x412672
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x412cd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [0x452488], 1
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x412850
mov edx, dword [0x452484]
add edx, 0x4000
push edx
push 0
call fcn.00434ac0
add esp, 0x18
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x412d19
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x452488], 0
je 0x412d2c
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x412d19
cmp dword [0x459f68], 0
je 0x412d3c
mov eax, 0x28
jmp 0x412d3e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x426290
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
jmp 0x4262a8
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov edx, 1
mov ecx, dword [ebp - 8]
shl edx, cl
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0xc]
jl 0x426307
mov dword [ebp - 4], 1
mov ecx, dword [ebp + 0xc]
and ecx, dword [ebp - 0xc]
je 0x426305
push 4
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax*8 + 0x4569bc]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx*8 + 0x4569c0]
movsx ecx, byte [eax]
sub ecx, 0x54
neg ecx
sbb ecx, ecx
and ecx, 0xfff9
add ecx, 6
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
jmp 0x42629f
mov esp, ebp
pop ebp
ret
Function at 0x42b4d0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
pop ebp
ret

Function at 0x42ec10
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4a8
mov eax, dword [0x458974]
xor eax, ebp
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x410]
mov dword [ebp - 8], eax
push 0x400
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.00434110
add esp, 0xc
mov edx, dword [ebp - 8]
mov eax, dword [str.NTLMSSP]
mov dword [edx], eax
mov ecx, dword [0x457088]
mov dword [edx + 4], ecx
mov edx, dword [ebp - 8]
mov byte [edx + 8], 2
push 0x80
lea eax, [ebp - 0x498]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [ebp - 0x489], 0
lea ecx, [ebp - 0x498]
mov dword [ebp - 0x49c], ecx
mov edx, dword [ebp - 0x49c]
add edx, 1
mov dword [ebp - 0x4a0], edx
mov eax, dword [ebp - 0x49c]
mov cl, byte [eax]
mov byte [ebp - 0x4a1], cl
add dword [ebp - 0x49c], 1
cmp byte [ebp - 0x4a1], 0
jne 0x42ec8d
mov edx, dword [ebp - 0x49c]
sub edx, dword [ebp - 0x4a0]
mov dword [ebp - 0x4a8], edx
mov eax, dword [ebp - 0x4a8]
shl eax, 1
mov dword [ebp - 0x414], eax
mov ecx, dword [ebp - 8]
mov dl, byte [ebp - 0x414]
mov byte [ecx + 0xc], dl
mov eax, dword [ebp - 8]
mov cl, byte [ebp - 0x414]
mov byte [eax + 0xe], cl
mov edx, dword [ebp - 8]
add edx, 0x30
sub edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov byte [eax + 0x10], dl
mov ecx, dword [ebp - 8]
mov byte [ecx + 0x14], 3
mov edx, dword [ebp - 8]
mov byte [edx + 0x15], 0x82
mov eax, dword [ebp - 8]
mov byte [eax + 0x16], 0x81
mov ecx, dword [ebp - 8]
mov byte [ecx + 0x17], 0xa0
push 0x40
mov edx, dword [ebp - 8]
add edx, 0x30
push edx
lea eax, [ebp - 0x498]
push eax
call fcn.0042eb30
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00410320
add esp, 4
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x124]
mov dword [edx + 4], ecx
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x122]
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx + 1]
xor edx, eax
mov eax, dword [ebp + 0xc]
mov byte [eax + 1], dl
mov dword [ebp - 4], 0
jmp 0x42ed6c
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 8
jge 0x42ed95
push 8
mov edx, dword [ebp + 0xc]
push edx
call fcn.00411ae0
add esp, 8
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 4]
movsx edx, byte [ecx]
xor edx, eax
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
mov byte [eax], dl
jmp 0x42ed63
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [ecx + 0x18], eax
mov edx, dword [edx + 4]
mov dword [ecx + 0x1c], edx
mov eax, dword [ebp - 8]
add eax, 0x30
sub eax, dword [ebp - 8]
add eax, dword [ebp - 0x414]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x410]
push edx
call fcn.0041a8f0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0043125e
mov esp, ebp
pop ebp
ret
Function at 0x43125e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x458974]
jne 0x431268
repz ret
jmp fcn.00437709

Function at 0x439cf6
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x439d1d
call fcn.004369a7
mov dword [eax], esi
call fcn.00436994
push 0x16
pop esi
mov dword [eax], esi
call fcn.00438975
mov eax, esi
jmp 0x439d72
test dword [ebp + 0xc], 0xfffffff9
jne 0x439d03
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x439d4a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004369ba
pop ecx
call fcn.00436994
mov eax, dword [eax]
jmp 0x439d72
test al, 0x10
jne 0x439d70
test al, 1
je 0x439d70
test byte [ebp + 0xc], 2
je 0x439d70
call fcn.004369a7
mov dword [eax], 5
call fcn.00436994
mov dword [eax], 0xd
jmp 0x439d41
xor eax, eax
pop esi
pop ebp
ret
Function at 0x442916
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x458974]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0043822c
and dword [ebp - 0x14], 0
cmp dword [0x45b098], 0
mov dword [ebp - 0x18], eax
jne 0x4429c9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x442a71
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x442a71
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x45b098], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x45b09c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x45b0a0], eax
call edi
push eax
call esi
mov dword [0x45b0a8], eax
test eax, eax
je 0x4429c9
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x45b0a4], eax
mov eax, dword [0x45b0a4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x442a22
cmp dword [0x45b0a8], ecx
je 0x442a22
push eax
call esi
push dword [0x45b0a8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x442a22
test ebx, ebx
je 0x442a22
call edi
test eax, eax
je 0x442a19
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x442a19
test byte [ebp - 8], 1
jne 0x442a22
or dword [ebp + 0x10], 0x200000
jmp 0x442a55
mov eax, dword [0x45b09c]
cmp eax, dword [ebp - 0x18]
je 0x442a55
push eax
call esi
test eax, eax
je 0x442a55
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x442a55
mov eax, dword [0x45b0a0]
cmp eax, dword [ebp - 0x18]
je 0x442a55
push eax
call esi
test eax, eax
je 0x442a55
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x45b098]
call esi
test eax, eax
je 0x442a71
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x442a73
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043125e
leave
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x401893
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4018d2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4018d2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4018d2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4018d2
cmp dword [ecx + 0x74], 0xe
jbe 0x4018d2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x408ed0
nop
mov ecx, 0x4bf327cd
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x58471f33
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x3f620808
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x38c80b43
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0x43eb65ba
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x67795127
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4032f0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404ed8
test esi, esi
jne 0x403326
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404fc8
jmp 0x403344
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00403194
mov edi, eax
test esi, esi
je 0x403344
cmp dword [ebx], 0
je 0x403344
dec esi
jmp 0x40332d
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403f2c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x45f020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403fc4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403fa4
xor eax, eax
push ebp
push 0x403f9d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403fe0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403fa4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x45f020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x45f020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404ca4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46204c], 0
je 0x404d05
cmp word [0x462220], 0xd7b2
jne 0x404ccd
cmp dword [0x462228], 0
jbe 0x404ccd
mov eax, 0x46221c
call dword [0x462238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404d2c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45f02c], 0
jne 0x404d21
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404e5c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x45f034], 0
je 0x404e82
mov edx, esi
mov eax, ebx
call dword [0x45f034]
jmp 0x404e91
mov eax, 8
call fcn.00402ea4
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x46204d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404e24
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc