joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4de98c
Capabilities:
Connect pipe

Disassembly:
add byte [edx], al
add byte [esi], cl
push esp
dec ecx
inc ebx
push ebx
jb 0x4de934
jb 0x4de904
push 0x646c69
add byte [eax], al
int3
add byte [eax], al
add byte [eax], al
pushal
jmp 0x4de95b
test al, 0x50
inc eax
add byte [eax - 0x67ffbfb0], dh
push edx
inc eax
add byte [eax - 0xfffbfae], dl
inc esp
dec ecx
add byte [edx + edx*2 + 0x52b80040], dh
inc eax
add byte [edx + edx*2 + 0x4f840040], ch
inc eax
add byte [eax + 0x6000404f], ah
out dx, al
add byte [eax - 0x12], ah
dec ebp
add byte [eax - 0x11], al
dec ebp
add byte [esi], cl
add byte [eax], al
add byte [eax], al
add byte [ecx], al
add byte [eax], al
add byte [edx + edx], dh
inc eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add dword [eax], eax
or dword [ecx + ecx*2 + 0x43], edx
push ebx
jb 0x4de9fa
jb 0x4de987
add byte [ecx + ebp*8 + 0x907004d], cl
push esp
dec ecx
inc ebx
push ebx
jb 0x4dea0b
jb 0x4de9f8
jmp 0x3f85e9ea
dec dword [ebx - 0x74af0bbb]
inc ebp
clc
push eax
call sub.kernel32.dll_ConnectNamedPipe
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x15], al
call sub.kernel32.dll_GetLastError_2
mov dword [ebp - 0x14], eax
cmp byte [ebp - 0x15], 0
jmp 0x4de9e2
sbb cl, ah
dec dword [ecx + 0x7d80ec45]
jmp 0x4dea05
je 0x4dea33
mov eax, dword [0x590ea0]
mov eax, dword [eax]
mov ecx, 0x4deadc
mov edx, 0x4deb00
add byte [ebx - 0x15234700], cl
dec ebp
add byte [edx + 0x4deb00], bh
call fcn.00435260
push 0x4deadc
mov eax, dword [0x590ea0]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
xor edx, edx
call fcn.00435400
mov eax, dword [ebp - 0x14]
sub eax, 0x217
je 0x4dea46
sub eax, 0x1ce
je 0x4dea8c
jmp 0x4dea92
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
push eax
call sub.kernel32.dll_SetEvent
test eax, eax
jne 0x4deac0
call sub.kernel32.dll_GetLastError_2
mov dword [ebp - 0x14], eax
mov eax, dword [0x590ea0]
mov eax, dword [eax]
mov ecx, 0x4deadc
mov edx, 0x4deb44
call fcn.00435260
push 0x4deadc
mov eax, dword [0x590ea0]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
xor edx, edx
call fcn.00435400
jmp 0x4deac6
mov byte [ebp - 0x16], 1
jmp 0x4deac0
mov eax, dword [0x590ea0]
mov eax, dword [eax]
mov ecx, 0x4deadc
mov edx, 0x4deb00
call fcn.00435260
push 0x4deadc
mov eax, dword [0x590ea0]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
xor edx, edx
call fcn.00435400
jmp 0x4deac6
mov al, byte [ebp - 0x16]
mov byte [ebp - 0xd], al
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret

Function at 0x4de9c0
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov byte [ebp - 0xd], 0
mov byte [ebp - 0x16], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
push eax
call sub.kernel32.dll_ResetEvent
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
Function at 0x4ded00
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4deddb
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
push 0x1388
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
push eax
push 0xff
push 6
push 0x40000003
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.004072c8
push eax
call sub.kernel32.dll_CreateNamedPipeW
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0xffffffff
jne 0x4dedb2
call sub.kernel32.dll_GetLastError_2
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x40]
mov edx, 0x4dedf8
call fcn.004074b8
mov edx, dword [ebp - 0x18]
mov eax, dword [0x590ea0]
mov eax, dword [eax]
mov ecx, 0x4dee3c
call fcn.00435260
push 0x4dee3c
mov eax, dword [0x590ea0]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
xor edx, edx
call fcn.00435400
jmp 0x4dedc5
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004de9c0
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dede2
lea eax, [ebp - 0x18]
call fcn.004065f8
ret

Function at 0x4f1320
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x2c
jne 0x4f1347
mov eax, dword [ebp - 8]
mov edx, 0x4f13e0
call fcn.004069bc
jmp 0x4f13d0
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_GetKeyboardLayout
push eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_MapVirtualKeyExW
shl eax, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0x21
jbe 0x4f1377
cmp dword [ebp - 4], 0x2f
jae 0x4f1377
or dword [ebp - 0xc], 0x1000000
cmp dword [ebp - 4], 0x90
jne 0x4f1387
mov dword [ebp - 0xc], 0xc1450001
cmp dword [ebp - 4], 0x13
jne 0x4f1394
mov dword [ebp - 0xc], 0xc0450001
cmp dword [ebp - 0xc], 0
je 0x4f13d0
push pe_nt_image_headers32
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyNameTextW
test eax, eax
je 0x4f13c8
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x20c]
mov ecx, pe_nt_image_headers32
call fcn.00407374
jmp 0x4f13d0
mov eax, dword [ebp - 8]
call fcn.004065f8
mov esp, ebp
pop ebp
ret
Function at 0x514f60
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004066dc
mov eax, dword [ebp - 8]
test eax, eax
je 0x514f8a
xor edx, edx
mov dword [eax], edx
xor eax, eax
push ebp
push 0x515107
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetSystemInfo_1
xor eax, eax
push ebp
push 0x5150a4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x590da8]
cmp dword [eax], 0
je 0x51509a
push 1
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x514f2c]
call fcn.00408614
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
xor eax, eax
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x514fec
cmp eax, dword [edx - 4]
jb 0x514ff1
call fcn.00404f50
lea eax, [eax + eax*2]
lea eax, [edx + eax*8]
push eax
mov eax, dword [0x590da8]
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0x14]
mov ecx, 0x18
xor edx, edx
div ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x514f2c]
call fcn.00408614
add esp, 4
lea eax, [ebp - 0x14]
push eax
xor eax, eax
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x51503c
cmp eax, dword [edx - 4]
jb 0x515041
call fcn.00404f50
lea eax, [eax + eax*2]
lea eax, [edx + eax*8]
push eax
mov eax, dword [0x590da8]
mov eax, dword [eax]
call eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
dec eax
test eax, eax
jb 0x515094
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x515078
cmp eax, dword [edx - 4]
jb 0x51507d
call fcn.00404f50
lea eax, [eax + eax*2]
mov eax, dword [edx + eax*8 + 4]
sub eax, 1
jae 0x51508c
inc dword [ebp - 0x20]
inc dword [ebp - 0x1c]
dec dword [ebp - 0x24]
jne 0x515069
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5150ae
mov eax, dword [ebp - 0x34]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x4c]
call fcn.0041d604
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 8]
call fcn.004069bc
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.005132e0
and eax, 0x7f
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51510e
lea eax, [ebp - 0x4c]
call fcn.004065f8
lea eax, [ebp - 0x10]
mov edx, dword [0x514f2c]
call fcn.00408620
lea eax, [ebp - 4]
call fcn.004065f8
ret
Function at 0x517200
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
xor edx, edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5173ad
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x34], eax
call sub.kernel32.dll_GetLogicalDrives
test eax, eax
jns 0x517241
call fcn.00404f50
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, 0x1f
ja 0x517255
bt dword [ebp - 0xc], eax
jae 0x517378
mov ax, word [ebp - 8]
add ax, 0x41
mov word [ebp - 0xe], ax
lea eax, [ebp - 0x38]
mov dx, word [ebp - 0xe]
call fcn.004072e0
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x14]
mov ecx, 0x5173c4
call fcn.004074b8
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.00406a04
mov eax, dword [ebp - 0x18]
call fcn.004072c8
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 3
jne 0x517378
mov eax, dword [0x591138]
cmp dword [eax], 0
je 0x517378
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x14]
call fcn.004072c8
push eax
mov eax, dword [0x591138]
mov eax, dword [eax]
call eax
test eax, eax
je 0x517378
mov eax, dword [ebp - 4]
push dword [eax]
push 0x5173d8
push 0x5173e8
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0x34]
call fcn.0041d5dc
push dword [ebp - 0x3c]
push 0x51740c
push 0
push 0x100000
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
call fcn.0040800c
push edx
push eax
lea eax, [ebp - 0x40]
call fcn.0041d604
push dword [ebp - 0x40]
mov eax, dword [ebp - 4]
mov edx, 6
call fcn.00407540
mov eax, dword [ebp - 4]
push dword [eax]
push 0x5173d8
push 0x51741c
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x34]
call fcn.0041d5dc
push dword [ebp - 0x44]
push 0x51740c
push 0
push 0x100000
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.0040800c
push edx
push eax
lea eax, [ebp - 0x48]
call fcn.0041d604
push dword [ebp - 0x48]
mov eax, dword [ebp - 4]
mov edx, 6
call fcn.00407540
inc dword [ebp - 0x34]
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x1a
jne 0x517249
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5173b4
lea eax, [ebp - 0x48]
mov edx, 5
call fcn.00406658
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00406658
ret
Function at 0x526cf0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x526e66
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x526e74
call sub.user32.dll_FindWindowW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x526e48
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetWindowTextLengthW
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x10]
call fcn.004073e0
cmp dword [ebp - 0x10], 0
jle 0x526d66
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
call fcn.004072c8
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetWindowTextW
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x10]
call fcn.004073e0
mov edx, dword [ebp - 0x18]
mov eax, 0x526ea4
call fcn.004077f4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x526e48
lea eax, [ebp - 4]
call fcn.0040661c
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 0x18]
push eax
mov edx, dword [ebp - 0x10]
add edx, 0x16
mov ecx, 0x7fffffff
mov eax, dword [ebp - 0x18]
call fcn.00407688
mov eax, dword [ebp - 0x18]
call fcn.00406acc
test eax, eax
jle 0x526e2a
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov ax, word [eax + edx*2 - 2]
mov word [ebp - 0x1a], ax
cmp dword [ebp - 0x10], 1
jne 0x526e06
movzx eax, word [ebp - 0x1a]
shr eax, 8
and eax, 0xff
mov dword [ebp - 0x14], eax
mov ax, word [ebp - 0x1a]
and ax, 0xff
movzx eax, ax
cmp eax, dword [ebp - 0x14]
jne 0x526e48
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 0x14]
call fcn.0040706c
mov dword [ebp - 8], 1
jmp 0x526e22
push ebp
movzx eax, word [ebp - 0x1a]
shr eax, 8
and al, 0xff
call fcn.00526cb0
pop ecx
push ebp
mov al, byte [ebp - 0x1a]
and al, 0xff
call fcn.00526cb0
pop ecx
inc dword [ebp - 0x10]
dec dword [ebp - 0x20]
jne 0x526dbc
mov eax, dword [ebp - 4]
call fcn.00406ad8
inc eax
cmp eax, dword [ebp - 8]
jne 0x526e48
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.00521850
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x526e6d
lea eax, [ebp - 0x18]
call fcn.004065f8
lea eax, [ebp - 4]
call fcn.0040661c
ret
Function at 0x55b570
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
xor eax, eax
push ebp
push 0x55b629
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
inc dword [eax - 4]
lea ecx, [ebp - 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.0042c200
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 4]
call fcn.004243fc
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0041d5dc
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x10]
lea eax, [ebp - 8]
call fcn.004074b8
push 1
mov eax, dword [ebp - 8]
call fcn.004072c8
push eax
mov eax, dword [ebp - 4]
call fcn.004072c8
push eax
call sub.kernel32.dll_MoveFileExW
test eax, eax
je 0x55b5fc
push 4
push 0
mov eax, dword [ebp - 8]
call fcn.004072c8
push eax
call sub.kernel32.dll_MoveFileExW
jmp 0x55b60e
push 4
push 0
mov eax, dword [ebp - 4]
call fcn.004072c8
push eax
call sub.kernel32.dll_MoveFileExW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55b630
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00406658
ret
Function at 0x569450
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x56955d
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004288e0
mov eax, dword [0x590b40]
call fcn.0042c230
dec eax
cmp eax, 0
jl 0x569542
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov eax, dword [0x590b40]
call fcn.0042c200
mov byte [ebp - 0x19], 0
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
call fcn.004077f4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jl 0x569535
cmp byte [ebp - 0x19], 0
jne 0x56950d
mov byte [ebp - 0x19], 1
lea eax, [ebp - 0x18]
mov edx, 0x105
call fcn.004073e0
mov eax, dword [ebp - 0x18]
call fcn.004072c8
push eax
push 0
push 0
mov edx, dword [ebp - 0xc]
mov eax, dword [0x590b40]
call fcn.0042c0b0
push eax
push 0
call sub.shell32.dll_SHGetFolderPathW
test eax, eax
jne 0x569505
lea eax, [ebp - 0x18]
call fcn.0042aa70
jmp 0x56950d
lea eax, [ebp - 0x18]
call fcn.004065f8
mov eax, dword [ebp - 0x14]
call fcn.00406acc
mov ecx, eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.004076d0
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
call fcn.00407734
jmp 0x5694a8
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x569494
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x569564
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00406658
ret

Function at 0x576f00
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
mov edx, dword [0x576e20]
call fcn.00407984
xor eax, eax
push ebp
push 0x576fc8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
push 0
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x576dd4]
call fcn.00408614
add esp, 4
lea eax, [ebp - 0x14]
push eax
push 0x576e50
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 0x10]
call fcn.00408460
test eax, eax
jne 0x576f64
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x576fac
mov eax, dword [ebp - 0x10]
call fcn.00408468
test eax, eax
jl 0x576fa4
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x576f9c
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
mov dword [ebp - 8], eax
jmp 0x576fac
inc dword [ebp - 0xc]
dec dword [ebp - 0x18]
jne 0x576f7b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x576fcf
lea eax, [ebp - 0x14]
mov edx, dword [0x576e20]
call fcn.00407a5c
ret
Function at 0x57ac60
Capabilities:
Accept command line arguments
Check os version
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x4d
push 0
push 0
dec ecx
jne 0x57ac68
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x57b7cd
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c4]
mov eax, 1
call fcn.00404a7c
mov eax, dword [ebp - 0x1c4]
mov edx, 0x57b7e8
call fcn.00407650
jne 0x57acb2
mov eax, dword [0x590d1c]
mov dword [eax], 2
jmp 0x57b754
mov byte [ebp - 4], 0
mov eax, 0x57b818
call fcn.0042b360
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57b7d4
lea eax, [ebp - 0x268]
mov edx, 5
call fcn.00406658
lea eax, [ebp - 0x240]
mov edx, 3
call fcn.00406658
lea eax, [ebp - 0x22c]
call fcn.004065f8
lea eax, [ebp - 0x228]
call fcn.0040661c
lea eax, [ebp - 0x224]
mov edx, 0xc
call fcn.00406658
lea eax, [ebp - 0x1cc]
mov edx, 3
call fcn.00406658
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00406658
lea eax, [ebp - 0xc]
call fcn.004065f8
ret
Function at 0x4035cf
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
sub eax, dword [esp + 8]
sar eax, 2
push esi
test eax, eax
je 0x403655
xor esi, esi
mov al, byte [esi + 0x4cb9c0]
mov edx, str.Own_head
xor al, 0x73
sub al, 0x6c
xor al, 0x74
mov byte [esi + 0x4cb9c0], al
call fcn.004051f4
push eax
call fcn.004053b4
mov al, byte [esi + 0x4cb9c0]
mov edx, str.Earth
add al, 0x4e
xor al, 0xdc
pop ecx
mov byte [esi + 0x4cb9c0], al
call fcn.004051f4
push eax
call fcn.004053b4
mov al, byte [esi + 0x4cb9c0]
xor al, 0xac
mov dword [esp], 0x492e4c
sub al, 0x65
xor al, 0x22
sub al, 0x73
mov byte [esi + 0x4cb9c0], al
call fcn.004581cb
xor byte [esi + 0x4cb9c0], al
inc esi
pop ecx
cmp esi, 0x4ac
jb 0x4035e2
lea ecx, [esp + 0xc]
call fcn.004048c2
pop esi
pop ecx
ret 0x14

Function at 0x40b2f7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x40b318
jl 0x40b30f
test edi, edi
jne 0x40b318
xor eax, eax
xor edx, edx
jmp 0x40b3d9
cmp dword [ebx + 0x38], 0
je 0x40b32d
push eax
push edi
push dword [ebp + 8]
call fcn.0040b3df
jmp 0x40b3d9
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x40b374
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x40b374
cmp eax, edi
jb 0x40b34e
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.0042f7c0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x40b37a
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x40b3ce
mov ecx, ebx
call fcn.0040a9cd
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x40b3b9
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.004594f9
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x40b3ce
jmp 0x40b38c
test edx, edx
je 0x40b3ce
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.004594f9
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x41d0f1
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], edx
jbe 0x41d114
movzx eax, byte [esi + edx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [ebp + 0x10]
jb 0x41d102
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x46f6d5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046f2bc

Function at 0x46fc03
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0042ef80
mov eax, dword [0x49c100]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0046da71
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x46fc45
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x46fda1
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00483f60
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4cee48]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00471196
mov ecx, dword [esi*4 + 0x4cee48]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x46fd9a
cmp eax, dword [edi + ecx + 0x24]
jne 0x46fd9a
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46fd9a
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00471196
add esp, 0x14
test edx, edx
jl 0x46fd9a
jg 0x46fd10
test eax, eax
jb 0x46fd9a
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x46fd9a
jl 0x46fd2a
cmp dword [ebp - 0x1008], eax
ja 0x46fd9a
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x46fd48
test ebx, ebx
je 0x46fd81
cmp ecx, edi
jae 0x46fd81
mov al, byte [ecx]
cmp al, 0xd
jne 0x46fd62
lea eax, [edi - 1]
cmp ecx, eax
jae 0x46fd6e
cmp byte [ecx + 1], 0xa
jne 0x46fd6e
inc ecx
jmp 0x46fd6e
movzx eax, al
movsx eax, byte [eax + 0x49c3c8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x46fd48
cmp edx, ebx
jne 0x46fd48
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x46fd9f
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0042da10
leave
ret