joyce8/EMBER2024-capa huggingface dataset:
Function at 0x532420
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aa9a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 0xc]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
lea ecx, [edi + 0xc]
mov dword [ecx + 4], 0
mov dword [ebp - 0x14], ecx
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
push 0xffffffffffffffff
push dword [ebp + 8]
mov byte [ebp - 4], 2
mov dword [ecx], 0x5b6344
call fcn.00417b10
add edi, 0x1c
mov dword [ebp - 0x14], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
lea esi, [edi + 0x28]
mov byte [ebp - 4], 5
push 0x40
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00592716
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [edi + 0x30], 0
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x10]
lea ecx, [esi + 0x50]
call fcn.00537a2a
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], ecx
test ebx, ebx
je 0x532524
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov byte [esi + 0x74], 0
mov dword [esi + 0x78], 0x5b57a8
mov dword [esi + 0x7c], 0x5b57c4
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov byte [esi + 0x8c], 0
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 0xb
mov eax, dword [ecx]
call dword [eax]
push eax
mov ecx, esi
call fcn.004fe0f0
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x53258e
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x535758
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x59690d
call fcn.00593e24
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
push 1
lea ecx, [esi + 0x2c0]
call fcn.005597f1
mov eax, dword [esi + 0x37c]
xor edi, edi
cmp byte [ebp + 8], 0
mov dword [ebp - 0x10], eax
push edi
je 0x5357ed
push dword [esi + 0xcc]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x28]
call int.00408eb0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], edi
mov ecx, dword [esi + 0x38]
push eax
call fcn.00537406
push dword [ebp - 0x24]
mov bl, byte [esi + 0xbd]
push dword [ebp - 0x10]
mov byte [esi + 0xbd], 1
call dword [0x5b4998]
push 0x43
push edi
push edi
push edi
push edi
mov byte [esi + 0xbd], bl
mov ebx, dword [ebp - 0x10]
push edi
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
lea ecx, [ebp - 0x28]
call fcn.00408e60
jmp 0x53583f
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov bl, byte [esi + 0xbd]
push 0x5b5d98
push dword [ebp - 0x10]
mov byte [esi + 0xbd], 1
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [esi + 0xc8]
mov byte [esi + 0xbd], bl
mov eax, dword [ecx]
call dword [eax + 0x10]
push 0x43
push edi
push edi
push edi
push edi
push edi
push dword [esi + 0xcc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [esi + 0xcc]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4

Function at 0x539406
Capabilities:
Read clipboard data

Disassembly:
mov eax, 0x5ab116
call fcn.00593e24
sub esp, 0x10
push edi
push ecx
mov edi, edx
call dword [sym.imp.USER32.dll_GetClipboardData]
test eax, eax
jne 0x539425
xor al, al
jmp 0x53946b
push eax
lea ecx, [ebp - 0x18]
call fcn.0058d220
and dword [ebp - 4], 0
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
mov ecx, edi
call fcn.00418aa0
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push dword [ebp - 0x18]
push dword [edi]
call fcn.005936c7
add esp, 0xc
cmp dword [ebp - 0x18], 0
je 0x539469
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
leave
ret
Function at 0x539ba5
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 0x18], 0
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x20]
jne 0x539c9a
mov eax, dword [esp + 0x10]
cmp eax, 0x110
jne 0x539c30
mov dword [esi + 0x20], 1
mov ecx, 0x613b80
mov eax, dword [0x613b80]
call dword [eax + 4]
push eax
push 0x435
push dword [esi + 4]
call dword [0x5b49ac]
push 0x48d
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
xor ecx, ecx
cmp byte [0x609cd8], cl
push 0
setne cl
push ecx
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x1c]
mov dword [eax], 1
cmp dword [esi + 0x20], 0
je 0x539c9a
mov eax, 1
mov dword [esi + 0x20], edi
pop edi
pop esi
ret 0x18
cmp eax, 0x111
jne 0x539c9a
mov ecx, dword [esp + 0x14]
xor edx, edx
mov eax, ecx
shr eax, 0x10
cmp dx, ax
jne 0x539c9a
mov eax, 1
cmp ax, cx
jne 0x539c83
push ecx
mov ecx, esp
mov dword [esi + 0x20], eax
push eax
mov eax, dword [esp + 0x20]
mov dword [ecx], eax
push ecx
mov ecx, esi
call fcn.00539d10
mov eax, dword [esp + 0x1c]
mov dword [eax], 0
cmp dword [esi + 0x20], 0
je 0x539c9a
mov eax, 1
mov dword [esi + 0x20], edi
pop edi
pop esi
ret 0x18
mov eax, 2
cmp ax, cx
jne 0x539c9a
push ecx
mov ecx, esp
mov dword [esi + 0x20], 1
push eax
jmp 0x539c58
mov dword [esi + 0x20], edi
xor eax, eax
pop edi
pop esi
ret 0x18
Function at 0x54d2e9
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [esi + 0x8c], 0
jne 0x54d306
mov al, 1
jmp 0x54d359
push 0x200
lea eax, [ebp - 0x200]
push 0
push eax
call fcn.005936d3
add esp, 0xc
lea eax, [ebp - 0x200]
push 0x100
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x8c]
xor eax, eax
mov word [ebp - 2], ax
lea eax, [ebp - 0x200]
mov dword [ebp + 8], eax
test ecx, ecx
jne 0x54d350
call dword [0x5b4308]
mov eax, dword [ecx]
lea edx, [ebp + 8]
push edx
call dword [eax + 8]
pop edi
pop esi
leave
ret 8

Function at 0x54fee4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push ebx
push dword [ebp + 8]
mov edi, ecx
mov dword [esp + 0x1c], edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0xd
mov esi, eax
push 0x87
push esi
mov dword [esp + 0x20], esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
shr eax, 2
xorps xmm0, xmm0
push esi
push dword [ebp + 8]
and al, 1
mov byte [edi + 0x28], al
movups xmmword [esp + 0x24], xmm0
call dword [sym.imp.USER32.dll_GetNextDlgTabItem]
mov edi, eax
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x18]
push eax
lea ecx, [ebp + 8]
call fcn.00442550
lea ecx, [esp + 0x10]
call fcn.00424c70
push ecx
push ecx
mov eax, esp
lea ecx, [esp + 0x20]
push 0x20000
sub esp, 0xc
mov dword [eax], ebx
mov eax, esp
mov ebx, dword [esp + 0x2c]
mov dword [eax], ecx
mov ecx, ebx
push dword [ebp + 8]
call fcn.004e9120
xor esi, esi
test edi, edi
je 0x54ff93
push 3
push esi
push esi
push esi
push esi
push edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push esi
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x31
push dword [ebp + 8]
call esi
push 1
push eax
push 0x30
push dword [ebx + 4]
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x55a295
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x470
push ebx
push ebp
mov ebx, ecx
push esi
xor esi, esi
push edi
cmp byte [ebx + 0x38], 0
jne 0x55a2cf
lea ebp, [ebx + 0x34]
cmp dword [ebp], esi
jne 0x55a2dc
push 0x5d3aa4
push dword [ebx + 4]
mov ecx, ebp
call fcn.0040c71e
cmp dword [ebp], esi
jne 0x55a2dc
mov byte [ebx + 0x38], 1
mov dword [ebx + 0x2c], esi
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x30]
push ecx
push eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_BeginPaint]
push 0x400
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x84]
push esi
push eax
call fcn.005936d3
add esp, 0xc
lea eax, [esp + 0x80]
mov edi, 0x200
push edi
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ebp, esi
cmp word [esp + ebp*2 + 0x80], si
je 0x55a335
inc ebp
cmp ebp, edi
jb 0x55a326
lea eax, [esp + 0x18]
xorps xmm0, xmm0
push eax
push dword [ebx + 4]
movups xmmword [esp + 0x20], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
push esi
push 0x31
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x28]
push eax
push ecx
mov dword [esp + 0x1c], ecx
call dword [0x5b40e0]
push 8
mov dword [esp + 0x14], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [esp + 0x2c]
call dword [0x5b411c]
xor eax, eax
inc eax
push eax
push dword [esp + 0x2c]
call dword [0x5b40b0]
test ebp, ebp
jle 0x55a3f5
lea esi, [esp + 0x18]
lea edi, [esp + 0x70]
movsd dword es:[edi], dword [esi]
push 0xfffffffffffffff0
push dword [ebx + 4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, eax
test dl, 2
je 0x55a3b6
push 2
pop ecx
xor esi, esi
jmp 0x55a3c4
push 0
pop esi
push 1
test dl, 1
mov ecx, esi
pop eax
cmovne ecx, eax
lea eax, [esp + 0x70]
push eax
push esi
mov eax, ecx
or eax, 0x8000
and edx, 0x4000
cmove eax, ecx
push eax
push ebp
lea eax, [esp + 0x90]
push eax
push esi
push dword [ebx + 0x30]
push dword [esp + 0x44]
push dword [ebx + 0x34]
call dword [0x5b462c]
push dword [esp + 0x10]
push dword [esp + 0x18]
call dword [0x5b40e0]
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_EndPaint]
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], esi
call fcn.00410c40
jmp 0x55a2d2
Function at 0x55aca6
Capabilities:
Write clipboard data

Disassembly:
mov eax, 0x5acc49
call fcn.00593e24
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ebx, edx
push dword [ebp + 8]
mov edi, ecx
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x55ad37
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
push esi
call fcn.0058d220
push dword [ebp + 8]
push ebx
push dword [ebp - 0x1c]
call fcn.005936c7
add esp, 0xc
cmp dword [ebp - 0x1c], 0
je 0x55acff
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
or dword [ebp - 4], 0xffffffff
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push edi
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x55ad4d
jmp 0x55ad28
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
lea ecx, [ebp - 0x28]
call fcn.00410c00
push 0x6005cc
lea eax, [ebp - 0x28]
push eax
call fcn.005936f7
call fcn.0054c6d1
int3
Function at 0x55b929
Capabilities:
Log keystrokes via polling

Disassembly:
movzx eax, byte [esp + 0xc]
push esi
mov esi, ecx
mov dword [esi + 0x38], eax
mov eax, dword [esp + 8]
sub eax, 8
je 0x55b9ab
sub eax, 1
je 0x55b999
sub eax, 4
je 0x55b96a
sub eax, 0xe
je 0x55b966
sub eax, 0x26
jne 0x55b9c0
call fcn.0058d1c0
cmp eax, 2
jne 0x55b9c0
push ecx
lea ecx, [esi + 4]
call int.00410690
jmp 0x55b9c8
push 0
jmp 0x55b992
push 0xa2
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x55b9c0
push 0xa3
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x55b9c0
push 3
mov ecx, esi
call fcn.0055b9cc
jmp 0x55b9c8
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and eax, 1
inc eax
push eax
jmp 0x55b990
call fcn.0058d1c0
cmp eax, 2
jne 0x55b9c0
push dword [esi + 4]
call fcn.004106c0
pop ecx
jmp 0x55b9c8
and dword [esi + 0x38], 0
and dword [esi + 0x2c], 0
pop esi
ret 0xc

Function at 0x55c2a6
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
push ebx
push esi
push edi
mov edi, ecx
jne 0x55c3a7
cmp dword [ebp + 0xc], 2
jne 0x55c308
mov eax, dword [edi + 4]
xor ebx, ebx
mov dword [ebp + 0xc], eax
inc ebx
lea eax, [ebp + 0xc]
mov dword [edi + 0x2c], ebx
push eax
mov ecx, 0x61375c
mov byte [edi + 0x30], bl
call fcn.0055b5cc
xor esi, esi
cmp dword [0x61375c], esi
jne 0x55c2fb
mov eax, dword [0x613eec]
mov dword [0x613eec], esi
test eax, eax
je 0x55c2fb
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x2c], esi
mov dword [eax], esi
jmp 0x55c39e
cmp dword [ebp + 0xc], 0x87
jne 0x55c34f
mov edx, dword [ebp + 0x14]
xor ebx, ebx
inc ebx
xor esi, esi
mov dword [edi + 0x2c], ebx
test edx, edx
je 0x55c343
mov eax, dword [edx + 4]
push 4
pop ecx
sub eax, 0x100
je 0x55c331
sub eax, ecx
jne 0x55c343
cmp dword [edx + 8], 9
je 0x55c348
cmp dword [edx + 8], 0xd
je 0x55c348
cmp dword [edx + 8], 0x1b
je 0x55c348
mov dword [edi + 0x2c], esi
mov ecx, esi
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
jmp 0x55c39e
cmp dword [ebp + 0xc], 0x100
jne 0x55c3a7
mov eax, dword [ebp + 0x14]
xor ebx, ebx
shr eax, 0x10
inc ebx
movzx eax, al
xor esi, esi
cmp dword [ebp + 0x10], 9
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x34], eax
je 0x55c383
cmp dword [ebp + 0x10], 0x1b
je 0x55c380
mov dword [edi + 0x34], esi
mov dword [edi + 0x2c], esi
jmp 0x55c399
push esi
jmp 0x55c394
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, edi
and eax, ebx
inc eax
push eax
call fcn.0055b9cc
mov ecx, dword [ebp + 0x18]
mov dword [ecx], esi
cmp dword [edi + 0x2c], esi
je 0x55c3a7
mov eax, ebx
jmp 0x55c3a9
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
Function at 0x5635b8
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x19c
lea eax, [esp + 0xc]
push esi
push eax
push 0x202
mov esi, ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x5635e2
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.005632b9
push eax
lea ecx, [esp + 8]
call fcn.0056317e
push 0x6012d0
lea eax, [esp + 8]
push eax
call fcn.005936f7
int3
Function at 0x56b2f4
Capabilities:
Get socket status

Disassembly:
sub esp, 0x35c
mov eax, dword fs:[0x2c]
push ebx
push ebp
push esi
mov eax, dword [eax]
mov ebp, ecx
push edi
movsd qword [esp + 0x38], xmm1
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x56b326
movsd xmm0, qword [0x5d5d98]
jmp 0x56b343
comisd xmm1, xmmword [0x5d5ce8]
jb 0x56b33b
movaps xmm0, xmm1
movsd qword [esp + 0x20], xmm1
jmp 0x56b349
movsd xmm0, qword [0x5d5f00]
movsd qword [esp + 0x20], xmm0
mulsd xmm0, qword [0x5d5f18]
lea ebx, [ebp + 0x104]
xorps xmm1, xmm1
movsd qword [esp + 0x30], xmm1
addsd xmm0, qword [0x5d5de0]
movsd qword [esp + 0x48], xmm0
test eax, eax
je 0x56b379
mov ecx, eax
call fcn.00563517
push 0x41
pop ecx
push 0x41
mov esi, ebp
movsd xmm0, qword [esp + 0x4c]
lea edi, [esp + 0x54]
rep movsd dword es:[edi], dword [esi]
pop ecx
mov esi, ebx
lea edi, [esp + 0x158]
rep movsd dword es:[edi], dword [esi]
push 0x41
pop ecx
lea esi, [ebp + 0x208]
lea edi, [esp + 0x260]
rep movsd dword es:[edi], dword [esi]
push ecx
push ecx
movsd qword [esp], xmm0
call dword [0x5b471c]
fld qword [0x5d5f38]
xorps xmm0, xmm0
fxch st(1)
movlpd qword [esp + 0x18], xmm0
fcomi st(1)
pop ecx
pop ecx
jb 0x56b3e9
fsub st(1)
fxch st(1)
fcompi st(1)
jbe 0x56b3eb
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
add esi, 0
adc edi, 0x80000000
jmp 0x56b3f3
fstp st(1)
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
call fcn.005946a0
add eax, esi
push 0
push 0xf4240
adc edx, edi
push edx
push eax
call fcn.005942c0
mov dword [esp + 0x28], eax
xor eax, eax
cmp dword [esp + 0x260], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x14], edx
lea edx, [esp + 0x260]
cmove edx, eax
mov dword [esp + 0x2c], ecx
cmp dword [esp + 0x158], eax
lea ecx, [esp + 0x158]
cmove ecx, eax
xor esi, esi
cmp dword [esp + 0x50], esi
lea eax, [esp + 0x50]
cmove eax, esi
lea esi, [esp + 0x28]
push esi
push edx
push ecx
push eax
push 0
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
js 0x56b4e5
jg 0x56b4b2
movsd xmm0, qword [esp + 0x30]
lea ebx, [ebp + 0x104]
addsd xmm0, qword [esp + 0x20]
movsd xmm1, qword [esp + 0x38]
comisd xmm1, xmmword [0x5d5ce8]
mov eax, dword [esp + 0x1c]
movsd qword [esp + 0x30], xmm0
jb 0x56b36e
comisd xmm0, xmm1
lea ebx, [ebp + 0x104]
jb 0x56b36e
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x35c
ret
push 0x41
pop ecx
lea esi, [esp + 0x50]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
push 0x41
pop ecx
lea esi, [esp + 0x158]
mov al, 1
lea edi, [ebp + 0x104]
rep movsd dword es:[edi], dword [esi]
push 0x41
pop ecx
lea esi, [esp + 0x260]
lea edi, [ebp + 0x208]
rep movsd dword es:[edi], dword [esi]
jmp 0x56b4a7
call fcn.00563178
push eax
lea ecx, [esp + 0x3c]
call fcn.0056317e
push 0x6011d0
lea eax, [esp + 0x3c]
push eax
call fcn.005936f7
int3
Function at 0x56c7bc
Capabilities:
Resolve dns

Disassembly:
mov eax, 0x5ae239
call fcn.00593e24
sub esp, 0x38
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
xorps xmm0, xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], 6
mov dword [ebp - 0x44], edi
call fcn.005634e9
mov esi, dword [sym.imp.WS2_32.dll_getaddrinfo]
jmp 0x56c817
cmp eax, 0x2afa
jne 0x56c8c0
call fcn.005634e9
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x56c807
mov eax, dword [ebp - 0x14]
mov ecx, edi
test eax, eax
je 0x56c8c0
mov eax, dword [eax + 0x1c]
inc ecx
test eax, eax
jne 0x56c838
test ecx, ecx
je 0x56c8c0
push ecx
mov ecx, ebx
call fcn.0056d4f3
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x56c8af
mov ebx, dword [ebx]
mov eax, dword [esi + 0x10]
add ebx, edi
lea ecx, [ebx + 0x10]
cmp eax, dword [ecx + 4]
je 0x56c86e
push eax
call fcn.00531080
mov eax, dword [esi + 0x10]
lea ecx, [ebx + 0x10]
push eax
push dword [esi + 0x18]
push dword [ecx]
call dword [0x5b4694]
mov eax, dword [esi + 4]
add esp, 0xc
mov dword [ebx + 4], eax
add edi, 0x30
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
mov esi, dword [esi + 0x1c]
mov ebx, dword [ebp - 0x18]
test esi, esi
jne 0x56c853
cmp dword [ebp - 0x14], 0
je 0x56c8af
push dword [ebp - 0x14]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x18
call fcn.00563178
push eax
lea ecx, [ebp - 0x24]
call fcn.0056317e
push 0x6011d0
lea eax, [ebp - 0x24]
push eax
call fcn.005936f7
int3

Function at 0x56cc2c
Capabilities:
Connect socket

Disassembly:
mov eax, 0x5ae27a
call fcn.00593e24
sub esp, 0x20
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
call fcn.005634e9
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jns 0x56cc74
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x56cc9d
push 1
push 0
mov ecx, esi
call fcn.0056cf1e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
call fcn.00563178
push eax
lea ecx, [ebp - 0x1c]
call fcn.0056317e
push 0x6011d0
lea eax, [ebp - 0x1c]
push eax
call fcn.005936f7
int3
Function at 0x56d094
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov eax, 0x5ae2ac
call fcn.00593e24
sub esp, 0x1c
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x14], ebx
mov esi, ecx
push edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
push 0x1000
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 1
call fcn.00531080
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push edi
push dword [esi]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
js 0x56d116
mov esi, dword [ebp + 8]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov ecx, dword [ebp - 0x10]
add ecx, edi
mov dword [ebp - 0x14], 1
push ecx
push edi
mov ecx, esi
call fcn.00562d84
push edi
call fcn.005929c8
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
call fcn.00563178
push eax
lea ecx, [ebp - 0x28]
call fcn.0056317e
push 0x6011d0
lea eax, [ebp - 0x28]
push eax
call fcn.005936f7
int3

Function at 0x56d8ab
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
xor eax, eax
push esi
push eax
push 4
push edx
push 0x56d901
push eax
push eax
call dword [0x5b4788]
mov esi, eax
add esp, 0x18
test esi, esi
je 0x56d8e4
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, esi
pop esi
leave
ret
call fcn.005632b9
push eax
lea ecx, [ebp - 0xc]
call fcn.0056317e
push 0x6012d0
lea eax, [ebp - 0xc]
push eax
call fcn.005936f7
int3

Function at 0x56db1a
Capabilities:
Packed with generic packer

Disassembly:
push esi
mov esi, ecx
call fcn.0056db70
cmp dword [esi + 4], 0
je 0x56db31
push dword [esi + 4]
call dword [0x5b408c]
cmp dword [esi + 0x10], 0
je 0x56db42
push 0
push dword [esi + 0x10]
call dword [0x5b4084]
cmp dword [esi + 0x14], 0
je 0x56db53
push 0
push dword [esi + 0x14]
call dword [0x5b4084]
lea ecx, [esi + 0x40]
call fcn.004576c0
lea ecx, [esi + 0x2c]
call fcn.0056eef5
mov ecx, dword [esi + 0x1c]
pop esi
test ecx, ecx
jne fcn.0040eb40
ret
Function at 0x5742ef
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x5ae868
call fcn.00593e24
sub esp, 0x54
push ebx
push esi
mov ebx, ecx
mov esi, edx
mov ecx, dword [ebp + 0x18]
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
call fcn.00579ed6
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x57440f
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
push esi
movlpd qword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x57436b
cmp dword [ebp - 0x14], edi
jne 0x57441e
jmp 0x57440f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x574433
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx]
call dword [eax + 4]
push esi
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x24]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x5743f7
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x5c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x5743dd
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x574433
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], edi
je 0x57440f
lea ecx, [ebp - 0x3c]
call fcn.0044e0a0
push 0x600a5c
mov eax, ecx
jmp 0x57442d
push ebx
call dword [sym.imp.KERNEL32.dll_CancelIo]
lea ecx, [ebp - 0x48]
call fcn.0041e720
push 0x600780
mov eax, ecx
jmp 0x57442d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
lea ecx, [ebp - 0x30]
call fcn.0044e0a0
push 0x600a5c
mov eax, ecx
push eax
call fcn.005936f7
mov ecx, eax
call fcn.0057b7ff
int3