joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ba8a0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x717db0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x7e6410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x10]
call fcn.00429050
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov esi, dword [edi]
mov edi, dword [edi + 4]
cmp esi, edi
je 0x5ba925
push esi
lea ecx, [ebp + 0xc]
call fcn.00428690
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004290f0
test eax, eax
jne 0x5ba906
push 0x2a
lea ecx, [ebp - 0x10]
call fcn.00429080
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x10]
call fcn.00428e50
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0
call fcn.00428810
add esi, 4
cmp esi, edi
jne 0x5ba8e3
lea ecx, [ebp - 0x10]
call fcn.00429100
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax*2 + 0x18]
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
mov esi, eax
push 0
push esi
call fcn.006b47d0
add esp, 0xc
mov dword [esi], 0x14
mov dword [esi + 0x10], 1
add esi, 0x14
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, esi
lea edx, [eax + 2]
jmp 0x5ba980
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5ba980
sub eax, edx
xor ecx, ecx
sar eax, 1
test eax, eax
jle 0x5ba9a7
cmp word [esi + ecx*2], 0x2a
jne 0x5ba9a2
xor edx, edx
mov word [esi + ecx*2], dx
inc ecx
cmp ecx, eax
jl 0x5ba995
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x5ba9d3
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 0xf
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.00428810
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5bad40
Capabilities:
List drag and drop files
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x717e51
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x7e6410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
mov esi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0xf
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x5bae56
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x5bae56
push 0xf
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x5bae50
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x5bae50
push 0x20a
call fcn.006b1920
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x5bae47
push 0
push 0
push 0xffffffffffffffff
push edi
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
xor edi, edi
mov dword [ebp - 0x1c], eax
test eax, eax
jle 0x5bae3e
push 0x105
push ebx
push edi
push dword [ebp - 0x18]
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
push ebx
lea ecx, [ebp - 0x10]
call fcn.00428840
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.005bc100
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0
call fcn.00428810
inc edi
cmp edi, dword [ebp - 0x1c]
jl 0x5bae01
push ebx
call fcn.00428680
add esp, 4
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5bb5b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x7e6410]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push ebx
mov dword [ebp - 0x224], ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x5bb74f
push esi
push edi
lea eax, [ebp - 0x21c]
xorps xmm0, xmm0
push eax
push ebx
movdqu xmmword [ebp - 0x21c], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.006b47d0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push ebx
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
push 0x31
push ebx
mov esi, eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push esi
call edi
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x22c], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x228], 0
jmp 0x5bb670
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5bb670
sub ecx, edx
lea eax, [ebp - 0x22c]
push eax
sar ecx, 1
lea eax, [ebp - 0x20c]
push ecx
push eax
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
push dword [ebp - 0x220]
push esi
call edi
push esi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0x47
call fcn.00435220
push 0x48
mov edi, eax
call fcn.00435220
push 0x2d
mov dword [ebp - 0x220], eax
call fcn.00435220
push 0x2e
mov esi, eax
call fcn.00435220
mov ecx, dword [ebp - 0x214]
lea edx, [edi + esi*2]
add edx, dword [ebp - 0x22c]
sub ecx, dword [ebp - 0x21c]
cmp ecx, edx
jge 0x5bb74d
lea eax, [ebp - 0x21c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.005b8b50
mov eax, dword [ebp - 0x220]
mov edi, dword [ebp - 0x218]
mov esi, dword [ebp - 0x214]
mov ebx, dword [ebp - 0x21c]
sub esi, ebx
push 0
cdq
push 0x2000
sub eax, edx
push 0
push dword [ebp - 0x224]
sar eax, 1
sub edi, eax
call fcn.005b73a0
mov eax, dword [ebp - 0x220]
add esp, 0x18
add eax, eax
push 4
push eax
push esi
push edi
push ebx
push 0
push dword [ebp - 0x224]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.006b3266
mov esp, ebp
pop ebp
ret
Function at 0x5bb760
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x7e6410]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x5bb824
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.006b47d0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x21c]
xorps xmm0, xmm0
push eax
push esi
movdqu xmmword [ebp - 0x21c], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esp
push eax
call fcn.00428840
push esi
call fcn.005bab70
mov ecx, dword [ebp - 0x214]
add esp, 8
sub ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x220], edx
push 0
cmp eax, ecx
jg 0x5bb809
push 0x200
push 0
jmp 0x5bb810
push 0
push 0x200
push esi
call fcn.005b73a0
add esp, 0x10
push 1
push 0
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.006b3266
mov esp, ebp
pop ebp
ret

Function at 0x5bb840
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x7e6410]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x5bb9ab
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.006b47d0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push ebx
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
push 0x31
push ebx
mov esi, eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push esi
call edi
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x228], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x224], 0
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5bb8e0
sub ecx, edx
lea eax, [ebp - 0x228]
push eax
sar ecx, 1
lea eax, [ebp - 0x20c]
push ecx
push eax
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
push dword [ebp - 0x220]
push esi
call edi
push esi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0x47
call fcn.00435220
push 0x48
mov edi, eax
call fcn.00435220
push 0x2d
mov dword [ebp - 0x220], eax
call fcn.00435220
push 0x2e
lea esi, [edi + eax*2]
call fcn.00435220
add esi, dword [ebp - 0x228]
cmp dword [ebp + 0xc], 0
jne 0x5bb958
push 6
push dword [ebp - 0x220]
push esi
push 0
push 0
jmp 0x5bb9a0
lea eax, [ebp - 0x21c]
xorps xmm0, xmm0
push eax
push ebx
movdqu xmmword [ebp - 0x21c], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x21c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.005b8b50
mov eax, dword [ebp - 0x214]
add esp, 8
sub eax, esi
push 4
push dword [ebp - 0x220]
push esi
push dword [ebp - 0x218]
push eax
push 0
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.006b3266
mov esp, ebp
pop ebp
ret
Function at 0x5bbad0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x7e6410]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x5bbbcf
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.006b47d0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x22c]
xorps xmm0, xmm0
push eax
push esi
movdqu xmmword [ebp - 0x22c], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esp
push eax
call fcn.00428840
push esi
call fcn.005bab70
mov ebx, dword [ebp + 0xc]
add esp, 8
add ebx, eax
mov edi, edx
cmp dword [ebp + 0x14], 0
jne 0x5bbb73
mov edi, dword [ebp - 0x220]
sub edi, dword [ebp - 0x228]
cmp dword [ebp + 0x10], 0
jne 0x5bbb83
push 6
push edi
push ebx
push 0
push 0
jmp 0x5bbbc6
lea eax, [ebp - 0x21c]
xorps xmm0, xmm0
push eax
push esi
movdqu xmmword [ebp - 0x21c], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x21c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.005b8b50
mov eax, dword [ebp - 0x214]
add esp, 8
sub eax, ebx
push 4
push edi
push ebx
push dword [ebp - 0x218]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006b3266
mov esp, ebp
pop ebp
ret
Function at 0x5bbd10
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x718008
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push esi
push edi
mov eax, dword [0x7e6410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00429100
push eax
call fcn.005b6cc0
add esp, 4
cmp eax, 1
jne 0x5bbe53
push 0x40
lea eax, [ebp - 0x68]
mov dword [ebp - 0x6c], 0
push 0
push eax
call fcn.006b47d0
add esp, 0xc
lea eax, [ebp - 0x18]
push edi
push 0x7835d4
push eax
call fcn.00428c80
push 0x74e788
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
call fcn.00428bd0
push dword [ebp + 0xc]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00428b20
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
push ecx
lea ecx, [ebp - 0x6c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, eax
call fcn.00429100
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
mov esi, eax
call fcn.00428810
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00428810
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.00428810
test esi, esi
je 0x5bbe1b
push dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x24]
call esi
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
push 1
push 0
call fcn.00429100
push eax
mov ecx, edi
call fcn.00429100
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x5bc3e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x5bc431
mov eax, dword [esi + 4]
test eax, eax
je 0x5bc406
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 4]
mov dword [esi + 8], 0
push eax
push 0
push esi
push 0x5bc600
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
test eax, eax
jne 0x5bc431
mov dword [esi + 8], 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5bcde0
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
call fcn.005bcb50
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0x14], eax
cmp eax, 0xffffffff
jne 0x5bce1c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0x418], eax
xor eax, eax
mov dword [esi + 8], 0
pop esi
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 4]
mov dword [ebp - 4], 1
push ecx
push 0x8004667e
push eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, dword [ebp + 8]
mov ecx, 2
push eax
mov dword [esi + 0xc], eax
mov word [esi + 0x41c], cx
call dword [sym.imp.WS2_32.dll_htons]
push 0x2000
mov word [esi + 0x41e], ax
mov dword [esi + 8], 2
call fcn.006b6815
push 0x1000
mov dword [esi + 0x474], eax
call fcn.006b6815
add esp, 8
mov dword [esi + 0x478], eax
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x5bcfa0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x7e6410]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x310], 1
lea ecx, [ebp - 0x318]
mov dword [ebp - 0x20c], 1
push ecx
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x108], 1
mov eax, dword [esi + 0x14]
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x30c], eax
push ecx
lea ecx, [ebp - 0x310]
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x104], eax
inc eax
push ecx
push eax
movq qword [ebp - 0x318], xmm0
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x5bd059
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 0x14]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x5bd046
mov dword [esi + 8], 6
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006b3266
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x108]
push eax
push dword [esi + 0x14]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x5bd060
mov dword [esi + 8], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.006b3266
mov esp, ebp
pop ebp
ret

Function at 0x5bd070
Capabilities:
Connect socket

Disassembly:
push esi
mov esi, ecx
push 0x10
lea eax, [esi + 0x41c]
push eax
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x5bd097
mov dword [esi + 8], 6
mov eax, 1
pop esi
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0x418], eax
cmp eax, 0x2733
jne 0x5bd0b8
mov dword [esi + 8], 5
mov eax, 1
pop esi
ret
mov dword [esi + 8], 0
xor eax, eax
pop esi
ret
Function at 0x5bd170
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0xffffffff
jne 0x5bd17d
xor eax, eax
pop esi
ret
cmp dword [esi + 0x450], 0
je 0x5bd179
push ebx
lea eax, [esi + 0x440]
mov ecx, 0x1000
push edi
jmp 0x5bd1a0
mov ebx, dword [esi + 0x450]
cmp ebx, 0x1000
push 0
cmova ebx, ecx
mov ecx, eax
push ebx
push dword [esi + 0x478]
call fcn.005bc770
test eax, eax
je 0x5bd238
push 0
push ebx
push dword [esi + 0x478]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
cmp edi, 0xffffffff
je 0x5bd22c
test edi, edi
jle 0x5bd1f0
push edi
lea ecx, [esi + 0x440]
call fcn.005bc920
cmp edi, ebx
jne 0x5bd204
cmp dword [esi + 0x450], 0
lea eax, [esi + 0x440]
mov ecx, 0x1000
jne 0x5bd1a0
test edi, edi
jle 0x5bd238
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x470], eax
mov eax, edi
cdq
add dword [esi + 0x480], eax
mov eax, 1
pop edi
adc dword [esi + 0x484], edx
pop ebx
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x418], eax
pop edi
pop ebx
xor eax, eax
pop esi
ret

Function at 0x5bd430
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x7e6410]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0x74ea30
call fcn.005bdd60
mov esi, dword [edi]
push dword [esi]
call fcn.005bd5c0
push eax
push dword [esi]
push str.Exception_code:__08X__s_n
call fcn.005bdd60
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
push 0x208
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 0xc]
call fcn.005bd820
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x214]
push dword [ebp - 0x210]
push dword [esi + 0xc]
push str.Fault_address:___08X__02X:_08X__s_n
call fcn.005bdd60
mov esi, dword [edi + 4]
push str._nRegisters:_n
call fcn.005bdd60
add esp, 0x40
push dword [esi + 0x9c]
push dword [esi + 0xa0]
push dword [esi + 0xa8]
push dword [esi + 0xac]
push dword [esi + 0xa4]
push dword [esi + 0xb0]
push str.EAX:_08X_nEBX:_08X_nECX:_08X_nEDX:_08X_nESI:_08X_nEDI:_08X_n
call fcn.005bdd60
push dword [esi + 0xb8]
push dword [esi + 0xbc]
push str.CS:EIP:_04X:_08X_n
call fcn.005bdd60
push dword [esi + 0xb4]
push dword [esi + 0xc4]
push dword [esi + 0xc8]
push str.SS:ESP:_04X:_08X__EBP:_08X_n
call fcn.005bdd60
push dword [esi + 0x8c]
push dword [esi + 0x90]
push dword [esi + 0x94]
push dword [esi + 0x98]
push str.DS:_04X__ES:_04X__FS:_04X__GS:_04X_n
call fcn.005bdd60
add esp, 0x4c
push dword [esi + 0xc0]
push str.Flags:_08X_n
call fcn.005bdd60
add esp, 8
call fcn.005bdad0
test eax, eax
jne 0x5bd57f
push str.IMAGEHLP.DLL_or_its_exported_procs_not_found
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.005bdb70
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006b3266
mov esp, ebp
pop ebp
ret
push esi
call fcn.005bd8d0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x7f8844]
push str._n____
call fcn.005bdd60
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
call fcn.006b3266
mov esp, ebp
pop ebp
ret
Function at 0x5bee00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x7e6410]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
xor edx, edx
mov ecx, dword [ebp + 8]
push ebx
mov dword [ebp - 0x808], eax
xor ebx, ebx
mov eax, dword [ebp + 0x38]
cmp dword [ebp + 0x18], edx
mov dword [ebp - 0x80c], eax
mov eax, dword [0x7f8c74]
push edi
mov edi, dword [ebp + 0xc]
cmovne eax, edx
mov dword [0x7f8c74], eax
lea eax, [ebp - 0x810]
push edx
push eax
lea eax, [ebp - 0x804]
mov dword [ebp - 0x810], 0x400
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlW]
test eax, eax
jne 0x5bee75
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006b3266
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [ebp + 0x1c]
mov ecx, esi
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5bee80
sub ecx, edx
sar ecx, 1
cmp ecx, 0x200
jae 0x5beec0
cmp dword [ebp + 0x24], ebx
je 0x5beed6
test edi, edi
je 0x5beed3
push 0
push 0x80
push 2
push 0
push 3
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x5beed6
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006b3266
mov esp, ebp
pop ebp
ret
or ebx, 0xffffffff
inc dword [0x7f8c88]
mov ecx, SysReAllocString
mov eax, dword [0x7f8c88]
cdq
idiv ecx
mov ecx, dword [ebp - 0x808]
mov dword [0x7f8c88], edx
test ecx, ecx
je 0x5bef00
mov eax, dword [0x7f8c88]
mov dword [ecx], eax
push 0xc2c
call fcn.00428650
push 0xc2c
mov edi, eax
push 0
push edi
call fcn.006b47d0
mov eax, dword [ebp + 0x24]
add esp, 0x10
mov ecx, dword [ebp + 0x28]
mov dword [edi], eax
mov eax, dword [ebp + 0x2c]
mov dword [edi + 0x804], ebx
mov dword [edi + 0xc14], ecx
mov dword [edi + 0xc18], eax
test ecx, ecx
je 0x5bef43
mov dword [ecx], 0
mov eax, dword [edi + 0xc18]
test eax, eax
je 0x5bef53
mov dword [eax], 0
mov eax, dword [ebp + 0x30]
mov ebx, dword [ebp + 0x18]
mov dword [edi + 0xc1c], eax
mov eax, dword [ebp + 0x34]
mov dword [edi + 0xc20], eax
mov eax, dword [ebp - 0x80c]
mov dword [edi + 0xc28], ebx
test eax, eax
je 0x5bef89
push eax
call fcn.006b9cb4
add esp, 4
mov dword [edi + 0xc24], eax
jmp 0x5bef93
mov dword [edi + 0xc24], 0
lea ecx, [ebp - 0x804]
lea edx, [edi + 4]
mov eax, ecx
sub edx, eax
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x5befa0
mov eax, dword [0x7f8c88]
lea ecx, [edi + 0x810]
mov dword [edi + 0x808], eax
sub ecx, esi
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x80c], eax
lea esp, [esp]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x5befd0
mov eax, dword [ebp + 0x20]
mov dword [edi + 0xc10], eax
push edi
test ebx, ebx
je 0x5bf007
call fcn.005bf0c0
add esp, 4
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006b3266
mov esp, ebp
pop ebp
ret
push 0
push 0x5bf030
call fcn.006b9d07
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
mov eax, 1
pop esi
pop edi
pop ebx
call fcn.006b3266
mov esp, ebp
pop ebp
ret
Function at 0x5bf520
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7182de
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x7e6410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0x790eb0
lea ecx, [esi + 0x8c]
mov dword [esi], vtable.CHttpReader.0
mov dword [esi + 0x88], 0
call fcn.00428840
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x44], 0xffffffff
mov dword [esi + 0x50], 0xffffffff
mov dword [esi + 0x48], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x34], 0xffffffff
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x2c], 0xffffffff
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x90], 0xffffffff
mov dword [esi + 0x94], 0xffffffff
mov dword [esi + 0x98], 0xffffffff
cmp dword [0x7f8c8c], 0
mov dword [ebp - 4], 0
jne 0x5bf6ca
push 0x28
call fcn.00428650
mov edi, eax
add esp, 4
test edi, edi
je 0x5bf6b5
lea ecx, [edi + 4]
mov dword [edi], vtable.CHttpReader::_CCriticalSection.0
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 1
jmp 0x5bf6b7
xor edi, edi
push 0x5bf8e0
mov dword [0x7f8c8c], edi
call fcn.006b30e7
add esp, 4
mov ecx, esi
call fcn.005c0650
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret