joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100c21c0
Capabilities:
Get socket status

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x10c
test eax, eax
jge 0x100c21da
mov eax, 1
add esp, 0x10c
ret
mov ecx, dword [esp + 0x110]
lea edx, [esp]
mov dword [esp], eax
push edx
lea eax, [esp + 0xc]
push 0
push eax
push 0
push 0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], 0
call dword [sym.imp.WS2_32.dll_select]
dec eax
neg eax
sbb eax, eax
inc eax
add esp, 0x10c
ret

Function at 0x100c2220
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
cmp eax, 0xffffffff
push edi
je 0x100c228a
mov edi, dword [esp + 0x1c]
test edi, edi
jl 0x100c228a
jne 0x100c2241
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
mov ecx, dword [esp + 0x20]
push ecx
push eax
call fcn.100c21c0
add esp, 8
test eax, eax
je 0x100c228a
xor esi, esi
test edi, edi
jle 0x100c2280
mov ebx, dword [esp + 0x18]
mov ebp, dword [sym.imp.WS2_32.dll_send]
mov ecx, dword [esp + 0x14]
mov edx, edi
sub edx, esi
push 0
lea eax, [esi + ebx]
push edx
push eax
push ecx
call ebp
cmp eax, 0xffffffff
je 0x100c228a
add esi, eax
cmp esi, edi
jl 0x100c2263
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x100c22a0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
call fcn.100e4b41
lea eax, [esp + 4]
mov dword [esi], method.CWnd.virtual_0
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
mov dword [esi + 0x44], 0x4d12
inc eax
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], eax
mov eax, esi
pop esi
add esp, 0x190
ret

Function at 0x100c2440
Capabilities:
Resolve dns

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
test esi, esi
je 0x100c24c7
cmp byte [esi], 0
je 0x100c24c7
mov ebx, dword [esp + 0xc]
xor eax, eax
mov ecx, ebx
mov edx, dword [esp + 0x14]
push edx
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
call dword [sym.imp.WS2_32.dll_htons]
push esi
mov word [ebx + 2], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x100c24b5
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x100c24c7
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
push edi
lea edi, [ebx + 4]
mov esi, dword [edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ax, word [eax + 8]
pop edi
mov word [ebx], ax
pop esi
mov eax, 1
pop ebx
ret 0xc
mov dword [ebx + 4], eax
mov word [ebx], 2
pop esi
mov eax, 1
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x100c25b0
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
sub esp, 0x10
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x40]
cmp ecx, 0xffffffff
je 0x100c262c
mov esi, dword [esp + 0x28]
test esi, esi
jl 0x100c262c
jne 0x100c25d6
pop edi
mov eax, 1
pop esi
add esp, 0x10
ret 0x10
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x100c2636
cmp byte [eax], 0
je 0x100c2636
mov ecx, dword [esp + 0x20]
lea edx, [esp + 8]
push ecx
push eax
push edx
mov ecx, edi
call fcn.100c2440
test eax, eax
je 0x100c262c
mov ecx, dword [esp + 0x24]
mov edx, dword [edi + 0x40]
lea eax, [esp + 8]
push 0x10
push eax
push 0
push esi
push ecx
push edx
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, esi
je 0x100c26c8
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 0x10
lea eax, [esp + 0x28]
push 4
push eax
push 0x20
push 0xffff
push ecx
mov dword [esp + 0x3c], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x100c262c
xor ecx, ecx
push 0xffffffffffffffff
mov dword [esp + 0xc], ecx
mov word [esp + 0xc], 2
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
call dword [sym.imp.WS2_32.dll_htonl]
mov edx, dword [esp + 0x20]
mov dword [esp + 0xc], eax
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [esp + 0x24]
mov edx, dword [edi + 0x40]
mov word [esp + 0xa], ax
lea eax, [esp + 8]
push 0x10
push eax
push 0
push esi
push ecx
push edx
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, esi
je 0x100c26be
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xbc]
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 0x10
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xbc]
pop edi
mov eax, 1
pop esi
add esp, 0x10
ret 0x10

Function at 0x100c28a0
Capabilities:
Connect socket

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0xbc]
test eax, eax
je 0x100c2912
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
call fcn.100c2440
test eax, eax
je 0x100c2912
mov edx, dword [esi + 0x40]
lea ecx, [esp + 4]
push 0x10
push ecx
push edx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x100c290b
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x40]
push 0x21
push 0x8078
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
cmp eax, 0xffffffff
je 0x100c290b
mov eax, 1
mov dword [esi + 0x48], eax
pop esi
add esp, 0x10
ret 8
mov ecx, esi
call fcn.100c2870
xor eax, eax
pop esi
add esp, 0x10
ret 8
Function at 0x100c30d0
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
sub esp, 0x1b8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
jne 0x100c3122
lea eax, [esp + 0x38]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
cmp eax, 1
mov dword [esi + 4], eax
jne 0x100c3110
push str.icmp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 8], eax
jmp 0x100c3117
mov dword [esi + 8], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100c31ba
mov eax, dword [esi + 8]
test eax, eax
je 0x100c31ba
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IcmpCreateFile
push eax
call edi
mov ecx, dword [esi + 8]
push str.IcmpSendEcho
push ecx
mov ebx, eax
call edi
mov edx, dword [esi + 8]
push str.IcmpCloseHandle
push edx
mov ebp, eax
call edi
test ebx, ebx
mov dword [esp + 0x10], eax
je 0x100c31ba
test ebp, ebp
je 0x100c31ba
test eax, eax
je 0x100c31ba
mov esi, dword [esp + 0x1cc]
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100c318c
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x100c31ba
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edi, dword [ecx]
call ebx
mov edx, dword [esp + 0x1d0]
mov esi, eax
push edx
lea eax, [esp + 0x18]
push 0x24
push eax
push 0
push 0
push 0
push edi
push esi
mov dword [esp + 0x3c], 0xffffffff
call ebp
test eax, eax
push esi
jne 0x100c31ca
call dword [esp + 0x14]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x1b8
ret 8
call dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1b8
ret 8
Function at 0x100c6b10
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SetWindowsHookExA]
push ebp
mov ebp, dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi + 0xa8], eax
mov dword [esi + 0xa4], 1
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [esi + 0xa8]
mov ecx, esi
push edx
push 2
call fcn.100c65b0
mov dword [0x1017e2e0], esi
mov dword [esi + 0xa4], edi
call fcn.100f6cf0
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x2c]
push eax
push edi
push 0x100c6ac0
push 0xffffffffffffffff
call ebx
mov dword [0x1017e2e4], eax
mov ecx, dword [esi + 0xa8]
mov dword [esi + 0x88], 2
mov edx, dword [esi + 0x90]
push esi
mov ecx, dword [edx + ecx*4]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [0x1017e2e4]
push ecx
call ebp
mov dword [0x1017e2e4], edi
mov dword [0x1017e2e0], edi
cmp dword [esi + 0xa4], 1
je 0x100c6b38
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.100c65b0
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x100c9c10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100ff638
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0x26
lea eax, [esi + 8]
lea edi, [esi + 0x28]
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov ecx, dword [edi]
mov ebp, dword [eax + 4]
mov ebx, dword [ecx - 8]
mov ecx, edi
mov edx, dword [eax + 8]
mov dword [esp + 0x38], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x3c], eax
call fcn.100e8998
sub ebx, eax
lea edx, [esp + 0x28]
dec ebx
mov ecx, edi
push ebx
push edx
mov dword [esp + 0x1c], eax
call fcn.100e1769
mov ebx, eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x5c], 0
call fcn.100e17e5
push ebx
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0x60], 1
call fcn.100e8700
lea ecx, [esp + 0x24]
mov byte [esp + 0x54], 4
call fcn.100e851d
lea ecx, [esp + 0x28]
mov byte [esp + 0x54], 3
call fcn.100e851d
mov edi, dword [esp + 0x5c]
push 1
mov ecx, edi
call fcn.100eb799
mov eax, dword [edi]
push 0x1017e2d8
mov ecx, edi
call dword [eax + 0x28]
mov ecx, dword [0x1016d228]
mov ebx, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x34]
sub eax, ecx
lea ecx, [ebp + 5]
add ebx, ecx
add edx, eax
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x1c], edx
push ebx
lea edx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x3c]
push 0x920
mov dword [esp + 0x48], edx
mov edx, dword [edi]
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, edi
call dword [edx + 0x68]
mov eax, dword [esp + 0x5c]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x28]
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov edx, dword [esp + 0x2c]
add ecx, ebp
add eax, edx
mov edx, dword [esp + 0x60]
add ecx, ebx
add eax, edx
push ecx
push eax
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
call fcn.100ebbf0
mov eax, dword [esi + 0x38]
mov esi, dword [esi + 0x3c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x60]
add ebp, esi
add eax, ecx
add ebx, ebp
add eax, edx
push ebx
push eax
mov ecx, edi
call fcn.100ebc3c
lea ecx, [esp + 0x10]
mov dword [esp + 0x54], 0xffffffff
call fcn.100e851d
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret 0xc
Function at 0x100dd409
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x10170170
cmp edx, dword [eax]
je 0x100dd42b
add eax, 8
inc ecx
cmp eax, 0x10170200
jl 0x100dd41c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x10170170]
jne 0x100dd559
mov eax, dword [0x101803b8]
cmp eax, 1
je 0x100dd533
test eax, eax
jne 0x100dd45c
cmp dword [0x101803bc], 1
je 0x100dd533
cmp edx, 0xfc
je 0x100dd559
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x100dd493
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.100dcf90
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.100d35a0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x100dd4d6
lea eax, [ebp - 0x1a4]
push eax
call fcn.100d35a0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x10124074
push edi
call fcn.100d24b0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.100dcf90
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.100dcfa0
lea eax, [ebp - 0xa0]
push 0x1010eda0
push eax
call fcn.100dcfa0
push dword [esi + 0x10170174]
lea eax, [ebp - 0xa0]
push eax
call fcn.100dcfa0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.100dff5a
add esp, 0x2c
pop edi
jmp 0x100dd559
lea eax, [ebp + 8]
lea esi, [esi + 0x10170174]
push 0
push eax
push dword [esi]
call fcn.100d35a0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x100e5911
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x100e5949
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.100e8978
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.100e8950
jmp 0x100e5955
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x100e7356
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x100e7398
call fcn.100f6cf0
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x100e7398
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x100e738f
xor eax, eax
jmp 0x100e73a0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.100e73a6
pop edi
pop esi
pop ebx
ret 4
Function at 0x100e8c5b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x100e8c7d
cmp dword [edi + 0x3c], 0
jne 0x100e8c7d
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.100f6cf0
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.100e8caa
pop edi
pop esi
pop ebx
ret 8
Function at 0x401960
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0x4d
mov eax, dword [ebp - 8]
push eax
call dword [0x40b1e8]
mov dword [0x40af50], 0x44
push 0x12
push 0x3b
call fcn.00401030
add esp, 8
mov dword [0x40ac30], 0x1003f
push 0x25
push 0x64
call fcn.00401090
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
call fcn.004017e0
add esp, 4
push 0x6d
push 0x5a
call fcn.00401060
add esp, 8
mov dword [ebp - 4], 0
jmp 0x4019cd
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [0x40ac0c]
xor ecx, ecx
mov cx, word [eax + 6]
cmp dword [ebp - 4], ecx
jge 0x401a4e
push 0x4d
push 0x30
call dword [0x40af40]
mov edx, dword [0x40b1d8]
mov eax, dword [edx + 0x3c]
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x28
add ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0xf8]
mov dword [0x40ac08], edx
push 0x46
push 0x2c
push 0
call dword [0x40ac1c]
push 0
mov eax, dword [0x40ac08]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [0x40ac08]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x14]
push eax
mov ecx, dword [0x40ac0c]
mov edx, dword [ecx + 0x34]
mov eax, dword [0x40ac08]
add edx, dword [eax + 0xc]
push edx
mov ecx, dword [0x40abf8]
push ecx
call dword [0x40afac]
jmp 0x4019c4
push 2
push 0x56
call dword [0x40af40]
call fcn.004018e0
push 0x54
push 0xf
push 0
call dword [0x40ac1c]
mov esp, ebp
pop ebp
ret
Function at 0x4062e5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40b508
cmp edx, dword [eax]
je 0x406307
add eax, 8
inc ecx
cmp eax, 0x40b598
jl 0x4062f8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40b508]
jne 0x406435
mov eax, dword [0x40ba54]
cmp eax, 1
je 0x40640f
test eax, eax
jne 0x406338
cmp dword [0x40b1b4], 1
je 0x40640f
cmp edx, 0xfc
je 0x406435
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40636f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004037b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004038a0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4063b2
lea eax, [ebp - 0x1a4]
push eax
call fcn.004038a0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40957c
push edi
call fcn.004077b0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004037b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004037c0
lea eax, [ebp - 0xa0]
push 0x40955c
push eax
call fcn.004037c0
push dword [esi + 0x40b50c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004037c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00407726
add esp, 0x2c
pop edi
jmp 0x406435
lea eax, [ebp + 8]
lea esi, [esi + 0x40b50c]
push 0
push eax
push dword [esi]
call fcn.004038a0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c
Function at 0x40333c
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x410aa0
call fcn.00406024
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x40323d
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x40323d
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x40323d
cmp dword [eax + 0x400074], 0xe
jbe 0x40323d
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x403241
and dword [ebp - 0x1c], 0
push 1
call main
pop ecx
test eax, eax
jne 0x403255
push 0x1c
call main
pop ecx
call fcn.00407199
test eax, eax
jne 0x403266
push 0x10
call main
pop ecx
call fcn.00406d3d
and dword [ebp - 4], 0
call fcn.00403bed
test eax, eax
jge 0x403280
push 0x1b
call main
pop ecx
call sub.kernel32.dll_GetCommandLineW
mov dword [0x413d00], eax
call fcn.00406ce0
mov dword [0x412ff8], eax
call main
test eax, eax
jge 0x4032a5
push 8
call main
pop ecx
call fcn.00406a03
test eax, eax
jge 0x4032b6
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x4032c9
push eax
call main
pop ecx
mov eax, dword [0x413340]
mov dword [0x413344], eax
push eax
push dword [0x413334]
push dword [0x41332c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4032f7
push eax
call main
call fcn.0040428b
jmp 0x40332c
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.00406069
ret
call main
jmp 0x4031eb

Function at 0x407550
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x40755f
pop dword [ebp - 8]
mov eax, 0x1846ba77
sub eax, 0x18064518
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x3d892
push 0
mov eax, 0x7759c498
add eax, 0x88e71c88
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0x576e
mov edi, eax
mov ebx, 0x43dca059
add ebx, 0xbc64d7a7
add ebx, dword [ebp - 8]
mov esi, 0xa2821b0a
add esi, 0x23750c61
sub dword [ebp - 4], 0xabbc139e
mov edx, dword [ebx]
xor dword [ebp - 4], edi
sub edx, esi
xor dword [ebp - 4], esi
mov dword [edi], edx
xor dword [ebp - 4], edx
add edi, 0xd63b23b1
add edi, 0x29c4dc53
add ebx, 0x41a4e52b
add ebx, 0xbe5b1ad9
loop 0x4075b8
add eax, 0x1508b
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xbe59636a
sub ecx, 0xbe19636a
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x4a6d50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4a6d5b
xor eax, eax
ret
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 4]
push esi
not eax
cmp edx, 8
jb 0x4a6e39
mov esi, edx
shr esi, 3
push edi
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4df070]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x4df070]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x4df070]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4df070]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4df070]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4df070]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4df070]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4df070]
inc ecx
sub edx, 8
sub esi, 1
jne 0x4a6d75
pop edi
test edx, edx
je 0x4a6e5b
lea ecx, [ecx]
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4df070]
inc ecx
sub edx, 1
jne 0x4a6e40
not eax
pop esi
ret

Function at 0x401647
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
call sub.kernel32.dll_GetCommandLineA
mov dword [0x405120], eax
mov ecx, ebp
add ecx, 8
mov dword [0x40508e], ecx
mov dword [0x405124], 0x30
mov dword [0x405128], 3
mov dword [0x405130], 0
mov dword [0x405134], 0
mov dword [0x40512c], 0x403148
mov eax, 0xffff0000
mov ebx, section..text
and ebx, eax
mov dword [0x405086], ebx
mov dword [0x405138], ebx
mov dword [0x405144], 0xf
mov dword [0x40514c], 0x405067
push 0x7f00
push 0
call sub.user32.dll_LoadIconA
mov dword [0x40513c], eax
mov dword [0x405150], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x405140], eax
push 0x405124
call sub.user32.dll_RegisterClassExA
push 0
push dword [0x405086]
push 0
push 0
push 0x2bc
push 0x1f4
push 0xa0
push 0x12c
push 0x40000
push str.Hello_word
push str.2class
push 0
call sub.user32.dll_CreateWindowExA
mov dword [0x405118], eax
push 0
push dword [0x405118]
call sub.user32.dll_ShowWindow
push dword [0x405118]
call sub.user32.dll_UpdateWindow
push 0
push 0
push 0
push 0x405154
call sub.user32.dll_GetMessageA
or eax, eax
je 0x40176b
push 0x405154
call sub.user32.dll_TranslateMessage
push 0x405154
call sub.user32.dll_DispatchMessageA
jmp 0x401741
mov eax, dword [0x40515c]
mov esi, dword [0x4051b4]
lea ecx, [0x405086]
add esi, eax
call esi
ret