joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42aae0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 8]
call fcn.00404e54
xor eax, eax
push ebp
push 0x42acc9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042a9f0
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.0042a9f0
mov dword [ebp - 4], eax
test esi, esi
jne 0x42ab4c
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, 0x42ace4
mov dl, 1
mov eax, dword [0x42a8b8]
call fcn.0040d974
call fcn.00404310
jmp 0x42ab93
cmp esi, 0x7fffffff
jbe 0x42ab93
mov eax, dword [0x569d2c]
cmp dword [eax], 2
je 0x42ab93
mov eax, esi
call fcn.004062c4
lea edx, [ebp - 0x18]
call fcn.0042aab0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, 0x42ad14
mov dl, 1
mov eax, dword [0x42a96c]
call fcn.0040d974
call fcn.00404310
xor edx, edx
push ebp
push 0x42ac7b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, 0x43
call fcn.00402820
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
push 0x40
push 0x2d
lea eax, [ebx + 0x16]
push eax
call sub.kernel32.dll_VirtualProtect
lea eax, [ebx + 0x16]
mov byte [eax], 0x50
mov dword [eax + 1], 0x424448b
mov byte [eax + 5], 0xa3
lea edx, [ebx + 8]
mov dword [eax + 6], edx
mov byte [eax + 0xa], 0x58
mov byte [eax + 0xb], 0x83
mov word [eax + 0xc], 0x4c4
mov byte [eax + 0xe], 0x68
mov dword [eax + 0xf], ebx
mov byte [eax + 0x13], 0xe8
mov edx, fcn.0042aa90
lea ecx, [ebx + 0x29]
sub edx, ecx
sub edx, 5
mov dword [eax + 0x14], edx
mov byte [eax + 0x18], 0xe8
lea edx, [ebx + 0x2e]
mov ecx, esi
sub ecx, edx
sub ecx, 5
mov dword [eax + 0x19], ecx
mov byte [eax + 0x1d], 0x68
mov dword [eax + 0x1e], ebx
mov byte [eax + 0x22], 0xe8
mov edx, fcn.0042aa70
lea ecx, [ebx + 0x38]
sub edx, ecx
sub edx, 5
mov dword [eax + 0x23], edx
mov word [eax + 0x27], 0x25ff
lea edx, [ebx + 8]
mov dword [eax + 0x29], edx
lea edi, [ebx + 0x16]
mov dword [ebx], esi
mov eax, dword [ebp - 4]
mov dword [ebx + 4], eax
lea edx, [ebx + 0xc]
mov eax, esi
mov ecx, 5
call fcn.00402ac4
mov edx, ebx
mov eax, dword [0x56a8c8]
call fcn.0041e3c8
mov byte [ebx + 0x11], 0xe9
mov eax, dword [ebp - 4]
sub eax, esi
sub eax, 5
mov dword [ebx + 0x12], eax
push ebx
call fcn.0042aa70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x42acab
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42acd0
lea eax, [ebp - 0x18]
call fcn.00404978
lea eax, [ebp - 8]
call fcn.00404978
ret
Function at 0x42b284
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebp
push 0x42b2f9
push dword fs:[eax]
mov dword fs:[eax], esp
push 6
lea eax, [ebp - 7]
push eax
push 0x1004
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0x2c]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404bf8
mov eax, dword [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409a60
push 2
lea edx, [ebp - 0x27]
push edx
push eax
call sub.gdi32.dll_TranslateCharsetInfo
mov ebx, dword [ebp - 0x27]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b300
lea eax, [ebp - 0x2c]
call fcn.00404978
ret

Function at 0x42b57c
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor edx, edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42b5e8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebx + 0x30]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov esi, eax
test esi, esi
je 0x42b5d2
push 0
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.0040d10c
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 8]
mov edx, 0x42b600
mov eax, ebx
call fcn.0042b70c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b5ef
lea eax, [ebp - 0xc]
call fcn.00404978
ret

Function at 0x42b6b0
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00404e64
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.004032b0
test ebx, ebx
je 0x42b6fb
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret
Function at 0x42b918
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42ba75
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x20], 0
jne 0x42ba5a
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov esi, eax
mov dword [ebx + 0x24], esi
inc esi
jne 0x42b96f
push 0
xor eax, eax
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea ecx, [ebp - 0xc]
mov edx, 0x42ba8c
mov eax, ebx
call fcn.0042b70c
mov word [ebx + 4], 2
mov edx, dword [ebx + 0x14]
mov eax, ebx
call fcn.0042b6b0
mov dword [ebx + 8], eax
mov ax, word [ebx + 0x18]
push eax
call sub.wsock32.dll_htons
mov word [ebx + 6], ax
push 0
push 0
push 0
mov eax, dword [ebx + 0x24]
push eax
call sub.wsock32.dll_WSAAsyncSelect
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 0x8004667e
mov eax, dword [ebx + 0x24]
push eax
call sub.wsock32.dll_ioctlsocket
push 0x10
lea eax, [ebx + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.wsock32.dll_connect
test eax, eax
je 0x42b9f1
push 0
call sub.wsock32.dll_WSAGetLastError
lea edx, [ebp - 0x10]
call fcn.0040d10c
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea ecx, [ebp - 0xc]
mov edx, 0x42baa4
mov eax, ebx
call fcn.0042b70c
cmp dword [ebx + 0x24], 0xffffffff
setne al
mov byte [ebx + 0x20], al
lea eax, [ebp - 0x14]
push eax
xor eax, eax
mov al, byte [ebx + 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0
xor eax, eax
mov al, byte [ebx + 9]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
xor eax, eax
mov al, byte [ebx + 0xa]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
xor eax, eax
mov al, byte [ebx + 0xb]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
movzx eax, word [ebx + 0x18]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x3c]
mov ecx, 4
mov eax, 0x42bac4
call fcn.0040a980
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x1c0]
call fcn.004049cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ba7c
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040499c
ret
Function at 0x42bae8
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x42bb7d
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
cmp byte [ebx + 0x20], 0
je 0x42bb67
push 0
mov eax, dword [ebp - 4]
push eax
push edx
mov eax, dword [ebx + 0x24]
push eax
call sub.wsock32.dll_send
mov esi, eax
cmp esi, 0xffffffff
jne 0x42bb67
call sub.wsock32.dll_WSAGetLastError
mov edi, eax
cmp edi, 0x2733
je 0x42bb67
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 4]
test edi, edi
je 0x42bb67
push 0
lea edx, [ebp - 0x10]
mov eax, edi
call fcn.0040d10c
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea ecx, [ebp - 0xc]
mov edx, 0x42bb98
mov eax, ebx
call fcn.0042b70c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42bb84
lea eax, [ebp - 0x10]
call fcn.00404978
ret

Function at 0x42bbcc
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42bc83
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
cmp esi, 0xffffffff
jne 0x42bc12
cmp byte [ebx + 0x20], 0
je 0x42bc12
lea eax, [ebp - 4]
push eax
push 0x4004667f
mov eax, dword [ebx + 0x24]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x42bc6d
cmp byte [ebx + 0x20], 0
je 0x42bc6d
push 0
push esi
push edi
mov eax, dword [ebx + 0x24]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x42bc6d
call sub.wsock32.dll_WSAGetLastError
mov esi, eax
cmp esi, 0x2733
je 0x42bc6d
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 4]
test esi, esi
je 0x42bc6d
push 0
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.0040d10c
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea ecx, [ebp - 0xc]
mov edx, 0x42bc9c
mov eax, ebx
call fcn.0042b70c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42bc8a
lea eax, [ebp - 0x10]
call fcn.00404978
ret

Function at 0x42bd08
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov ebx, edx
mov esi, eax
call sub.kernel32.dll_GetTickCount_1
mov edi, eax
mov edx, ebx
mov eax, esi
call fcn.0042bcb4
cmp dword [ebx], 0
jne 0x42bd2e
push 1
call sub.kernel32.dll_Sleep
cmp dword [ebx], 0
jne 0x42bd3f
call sub.kernel32.dll_GetTickCount_1
sub eax, edi
cmp eax, dword [esi + 0x1c]
jb 0x42bd19
cmp dword [ebx], 0
jne 0x42bd61
push 0
xor eax, eax
mov dword [esp + 4], eax
mov byte [esp + 8], 0xb
lea ecx, [esp + 4]
mov edx, 0x42bd70
mov eax, esi
call fcn.0042b70c
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x42c8a4
Capabilities:
Read file via mapping

Disassembly:
push ebx
call fcn.0042c844
mov ebx, eax
test ebx, ebx
jne 0x42c8e0
call fcn.0042c7a8
push eax
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov ebx, eax
push 0
push 0
push 0
push 0xf001f
push ebx
call sub.kernel32.dll_MapViewOfFile
mov dword [eax], ebx
push eax
call sub.kernel32.dll_UnmapViewOfFile
pop ebx
ret

Function at 0x42cb74
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
xor edx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42cd1f
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004028e0
mov edx, dword [0x40859c]
call fcn.00403c0c
test al, al
jne 0x42ccf7
call fcn.004028e0
mov edx, dword [0x408510]
call fcn.00403c0c
test al, al
je 0x42cbdd
call fcn.004028e0
mov edx, dword [eax + 4]
lea eax, [ebp - 0xc]
call fcn.00404a10
jmp 0x42cbea
lea eax, [ebp - 0xc]
mov edx, 0x42cd34
call fcn.00404a10
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x1c]
mov ecx, 1
mov eax, 0x42cd54
call fcn.0040a980
mov eax, dword [ebp - 8]
call fcn.00404e64
push eax
call sub.kernel32.dll_OutputDebugStringA
push 0
xor eax, eax
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.00429034
call fcn.00429544
call fcn.004295f8
test al, al
je 0x42ccf7
push 0x242014
push 0x42cd7c
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x42cd9c
call fcn.0040a980
mov eax, dword [ebp - 0x28]
call fcn.00404e64
push eax
push 0
call sub.user32.dll_MessageBoxA_1
cmp eax, 6
jne 0x42ccf7
lea edx, [ebp - 0x2c]
xor eax, eax
call fcn.00402c50
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 4]
mov edx, 0x42ce14
call fcn.00409fb8
call fcn.00429488
mov eax, dword [ebp - 4]
push eax
mov ecx, 0x42ce24
mov edx, 0x42ce24
mov eax, 0x42ce4c
call fcn.004327a8
test al, al
jne 0x42ccf7
push 0x242030
push 0x42ce60
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x42ce74
call fcn.0040a980
mov eax, dword [ebp - 0x30]
call fcn.00404e64
push eax
push 0
call sub.user32.dll_MessageBoxA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42cd26
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.0040499c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040499c
ret
Function at 0x42cf10
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42cfc0
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x56a9d0], bl
mov eax, 0x56a9d4
mov edx, esi
call fcn.004049cc
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x18]
xor edx, edx
mov dl, bl
mov eax, dword [0x42c234]
call fcn.0041a43c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x42cfd8
call fcn.0040a980
push 0
xor eax, eax
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00429034
mov eax, dword [ebp - 4]
call fcn.00404e64
push eax
call sub.kernel32.dll_OutputDebugStringA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42cfc7
lea eax, [ebp - 0x18]
call fcn.00404978
lea eax, [ebp - 4]
call fcn.00404978
ret

Function at 0x42d2fc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x2c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42d474
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov ecx, ebx
mov dl, 1
mov eax, dword [0x42c2d4]
call fcn.0042d1a4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x42d457
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov ecx, 2
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0xc]
cmp word [ebp - 4], 0x5a4d
jne 0x42d441
push 0
push 0x3c
mov eax, dword [ebp - 0x10]
call fcn.00420ac4
lea edx, [ebp - 8]
mov ecx, 4
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0xc]
cmp dword [ebp - 8], 0
je 0x42d441
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x10]
call fcn.00420ac4
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0xc]
cmp dword [ebp - 0xc], 0x4550
jne 0x42d441
lea edx, [ebp - 0x28]
mov ecx, 0x14
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0xc]
test byte [ebp - 0x15], 0x20
je 0x42d43d
push 2
push 0
lea edx, [ebp - 0x2c]
mov eax, ebx
call fcn.0042d1ec
mov eax, dword [ebp - 0x2c]
call fcn.00404e64
push eax
call sub.kernel32.dll_LoadLibraryExA_1
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x42d436
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xa
push 0x42d484
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindResourceA
test eax, eax
je 0x42d41b
push 0xa
push 0x42d490
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindResourceA
test eax, eax
je 0x42d41b
mov byte [ebp - 1], 2
jmp 0x42d41f
mov byte [ebp - 1], 3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d441
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d45e
mov eax, dword [ebp - 0x10]
call fcn.00403a80
ret
Function at 0x42d56c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7fc
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e54
xor eax, eax
push ebp
push 0x42d61b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x42d5f0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404e64
push eax
push 0x800
lea eax, [ebp - 0x804]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00404e64
push eax
mov eax, esi
call fcn.00404e64
push eax
mov eax, ebx
call fcn.00404e64
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
mov ecx, eax
lea edx, [ebp - 0x804]
mov eax, dword [ebp + 8]
call fcn.00404a68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x42d605
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d622
lea eax, [ebp - 4]
call fcn.00404978
ret

Function at 0x42e1ec
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, edx
mov esi, eax
mov edx, esp
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
xor edx, edx
mov dl, byte [esp]
mov eax, ebx
call fcn.00402cf0
xor ecx, ecx
mov cl, byte [esp]
lea edx, [ebx + 1]
mov eax, esi
mov esi, dword [eax]
call dword [esi + 0xc]
xor edx, edx
mov dl, byte [ebx]
test edx, edx
jle 0x42e22f
lea eax, [ebx + 1]
xor byte [eax], 0x62
inc eax
dec edx
jne 0x42e228
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x42fd5c
Capabilities:
Enumerate gui resources

Disassembly:
add esp, 0xfffffff8
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, esp
push eax
push 0x42fd24
call sub.user32.dll_EnumWindows
mov eax, dword [esp + 4]
pop ecx
pop edx
ret
Function at 0x430728
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7f4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x80c], ecx
mov esi, edx
lea edi, [ebp - 0x808]
mov ecx, 0x201
rep movsd dword es:[edi], dword [esi]
mov esi, eax
xor eax, eax
push ebp
push 0x4307e3
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
lea eax, [ebp - 0x80c]
mov ecx, esi
mov edx, 0x4307fc
call fcn.00404cb0
mov eax, dword [ebp - 0x80c]
call fcn.00404e64
push eax
call sub.kernel32.dll_CreateFileA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x4307ca
push 0
lea eax, [ebp - 4]
push eax
push 0x804
lea eax, [ebp - 0x808]
push eax
push esi
call sub.kernel32.dll_WriteFile_1
test eax, eax
je 0x4307be
cmp dword [ebp - 4], 0x804
je 0x4307c2
xor ebx, ebx
jmp 0x4307c4
mov bl, 1
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4307ea
lea eax, [ebp - 0x80c]
call fcn.00404978
ret

Function at 0x43266c
Capabilities:
Query environment variable

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, eax
push 0x800
lea eax, [esp + 4]
push eax
mov eax, dword [ebx]
call fcn.00404e64
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
mov edx, esp
mov ecx, ebx
xchg ecx, eax
call fcn.00404a68
add esp, 0x800
pop ebx
ret
Function at 0x4338ec
Capabilities:
Create process on windows
Create process suspended
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e54
mov eax, dword [ebp - 8]
call fcn.00404e54
mov eax, dword [ebp - 0xc]
call fcn.00404e54
xor eax, eax
push ebp
push 0x433b0b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
xor ecx, ecx
mov edx, 0x433b24
mov eax, 0x80000000
call fcn.00428f28
lea eax, [ebp - 0x10]
call fcn.0043266c
lea eax, [ebp - 0x70]
push eax
xor ecx, ecx
mov edx, 0x433b48
mov eax, dword [ebp - 0xc]
call fcn.0042c910
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0xc]
call fcn.00404a10
lea eax, [ebp - 0x5c]
xor ecx, ecx
mov edx, 0x44
call fcn.004032b0
lea eax, [ebp - 0x6c]
xor ecx, ecx
mov edx, 0x10
call fcn.004032b0
mov dword [ebp - 0x5c], 0x44
call fcn.0043378c
test al, al
jne 0x4339b6
lea eax, [ebp - 0x18]
call fcn.00404978
jmp 0x4339c9
lea eax, [ebp - 0x18]
mov ecx, dword [0x56a9bc]
mov edx, 0x433b54
call fcn.00404cb0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x88], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x80], 0xb
lea eax, [ebp - 0x90]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
call fcn.00404cb0
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x78], 0xb
lea edx, [ebp - 0x8c]
mov ecx, 2
mov eax, 0x433b64
call fcn.0040a980
mov ecx, dword [ebp - 0x74]
mov edx, 0x433b8c
mov eax, dword [ebp - 0x10]
call fcn.0042c910
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
push 0x220
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
call fcn.00404e64
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x433ab6
push 0x2710
mov eax, dword [ebp - 0x6c]
push eax
call sub.user32.dll_WaitForInputIdle
push 0x7d0
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 0x64]
call fcn.0042fd5c
mov esi, eax
test esi, esi
je 0x433aa2
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
call sub.user32.dll_SetWindowPos
push 3
push esi
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 0x6c]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x433ad3
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x94]
call fcn.0040d10c
mov edx, dword [ebp - 0x94]
mov al, 4
call fcn.0042cf10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433b12
lea eax, [ebp - 0x94]
mov edx, 2
call fcn.0040499c
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.0040499c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.0040499c
ret