joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429070
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
mov eax, edx
xor edi, edi
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
je 0x429218
cmp byte [ebp + 8], 0
je 0x4290d9
test byte [eax], 8
je 0x4290d9
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [0x61b8a0]
test al, 1
jne 0x4290b9
or eax, 1
mov ecx, 0x61b890
mov dword [0x61b8a0], eax
call fcn.004246d0
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x14]
push eax
push ecx
lea eax, [ebp - 4]
mov ecx, ebx
push eax
push 0x80
push 0xffff
call fcn.004293b0
add esp, 0x14
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov edi, eax
mov eax, dword [0x61b8a0]
test al, 1
jne 0x429105
or eax, 1
mov ecx, 0x61b890
mov dword [0x61b8a0], eax
call fcn.004246d0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x14], eax
mov ecx, 0x61b890
push eax
mov eax, dword [0x61b890]
mov eax, dword [eax + 0x18]
call eax
mov byte [ebp - 0x10], al
movq xmm0, qword [ebp - 0x14]
movq qword [esi], xmm0
mov dword [esi + 8], 0x61b890
test edi, edi
je 0x429218
mov eax, dword [0x61b8a0]
test al, 1
jne 0x429154
or eax, 1
mov ecx, 0x61b890
mov dword [0x61b8a0], eax
call fcn.004246d0
mov eax, dword [0x61b890]
mov ecx, 0x61b890
push 0x2733
call dword [eax + 0x18]
cmp dword [esi], 0x2733
jne 0x42919f
mov edx, dword [0x61b898]
mov eax, edx
or eax, dword [0x61b89c]
mov ecx, dword [esi + 8]
jne 0x429190
cmp ecx, 0x61b890
sete al
test al, al
jne 0x4291dd
jmp 0x42919f
cmp dword [ecx + 8], edx
jne 0x42919f
mov eax, dword [0x61b89c]
cmp dword [ecx + 0xc], eax
je 0x4291dd
push ecx
push 0x4d5
lea ecx, [ebp - 0x14]
call fcn.00430be0
mov eax, dword [esi]
cmp eax, dword [ebp - 0x14]
jne 0x429214
mov edx, dword [ebp - 0xc]
mov ecx, dword [esi + 8]
mov eax, dword [edx + 8]
or eax, dword [edx + 0xc]
jne 0x4291cd
cmp ecx, edx
sete al
test al, al
je 0x429214
jmp 0x4291dd
mov eax, dword [edx + 8]
cmp dword [ecx + 8], eax
jne 0x429214
mov eax, dword [edx + 0xc]
cmp dword [ecx + 0xc], eax
jne 0x429214
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x8004667e
push ebx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, dword [ebp - 8]
push 0
and byte [eax], 0xfc
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, esi
mov ecx, eax
call fcn.00430c40
mov edi, eax
test edi, edi
jne 0x42924e
mov eax, dword [0x61b8a0]
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x10], 0
test al, 1
jne 0x42923e
or eax, 1
mov ecx, 0x61b890
mov dword [0x61b8a0], eax
call fcn.004246d0
movq xmm0, qword [ebp - 0x14]
movq qword [esi], xmm0
mov dword [esi + 8], 0x61b890
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4293b0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
push edi
cmp ebx, 0xffffffff
jne 0x429416
mov eax, dword [0x61b8a0]
test al, 1
jne 0x4293db
or eax, 1
mov ecx, 0x61b890
mov dword [0x61b8a0], eax
call fcn.004246d0
mov eax, dword [0x61b890]
mov ecx, 0x61b890
push 0x2719
mov dword [ebp - 0x10], 0x2719
mov eax, dword [eax + 0x18]
call eax
mov byte [ebp - 0xc], al
mov eax, dword [ebp + 0x18]
movq xmm0, qword [ebp - 0x10]
movq qword [eax], xmm0
mov dword [eax + 8], 0x61b890
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
cmp edi, 0xffff
jne 0x42942f
cmp esi, 0x80
jne 0x42942f
or byte [edx], 8
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 4
push dword [ebp + 0x10]
push esi
push edi
push ebx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov esi, dword [ebp + 0x18]
mov ecx, eax
mov edx, esi
call fcn.00430c40
mov edi, eax
test edi, edi
jne 0x42948b
mov ecx, dword [0x61b8a0]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], al
test cl, 1
jne 0x42947b
or ecx, 1
mov dword [0x61b8a0], ecx
mov ecx, 0x61b890
call fcn.004246d0
movq xmm0, qword [ebp - 0x10]
movq qword [esi], xmm0
mov dword [esi + 8], 0x61b890
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42ecc0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0x14]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
and ecx, eax
cmp dword [esi + 0x18], ecx
ja 0x42ed12
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
mov edx, dword [esi + 8]
mov esi, dword [esi]
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov ebx, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
cmp ebx, esi
jne 0x42ed2a
mov ecx, esi
jmp 0x42ed2f
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x42ed5c
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x42ed3e
mov eax, dword [eax]
jmp 0x42ed22
mov ecx, dword [edi]
cmp ecx, dword [eax + 8]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], esi
jne 0x42ed4e
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x431670
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x590d58
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x60fe70]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x60fe70]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x14]
and eax, reloc.WS2_32.dll_connect
mov dword [esp + 0x10], 0
or eax, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x48], 0
lea edx, [esp + 0xc]
mov eax, dword [ebp + 0xc]
lea ecx, [ebp + 8]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xb]
push 0
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x13], 0
push eax
call fcn.004359b0
add esp, 0xc
cmp byte [esp + 0xb], 0
je 0x431704
mov ecx, dword [esi]
and ecx, reloc.WS2_32.dll_connect
or ecx, 4
mov dword [esi], ecx
jmp 0x43171c
mov eax, dword [esi]
mov ecx, esi
and eax, reloc.WS2_32.dll_connect
or eax, 4
mov dword [esi], eax
lea eax, [esp + 0x14]
push eax
call fcn.0042bf60
lea ecx, [esp + 0x14]
call fcn.0042c060
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00555894
mov esp, ebp
pop ebp
ret

Function at 0x4320b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58ff80
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x60fe70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.00557ad2
mov dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.boost::system::system_error.0
movq xmm0, qword [edi + 0xc]
movq qword [esi + 0xc], xmm0
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
lea eax, [edi + 0x18]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004223f0
mov dword [esi], vtable.boost::lock_error.0
mov dword [ebp - 4], 1
mov dword [esi + 0x30], vtable.boost::exception.0
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
test ecx, ecx
je 0x432144
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
mov eax, esi
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x437440
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58fe18
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x60fe70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.00557ad2
mov dword [ebp - 4], 0
lea ecx, [edi + 0x18]
mov dword [edi], vtable.boost::system::system_error.0
movq xmm0, qword [esi + 0xc]
movq qword [edi + 0xc], xmm0
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
lea eax, [esi + 0x18]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004223f0
mov dword [edi + 0x30], vtable.boost::exception.0
mov eax, edi
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0xffffffff
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
mov dword [edi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x439cc0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5916f8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x60fe70]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x60fe70]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x10]
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004223f0
push dword [ebp + 0xc]
lea eax, [esp + 0x2c]
push dword [ebp + 8]
push eax
call fcn.00439be0
add esp, 0x24
mov dword [esp + 0x38], 0
cmp dword [eax + 0x14], 0x10
jb 0x439d3d
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov ecx, esi
lea eax, [esp + 0xc]
push eax
call fcn.00557a92
cmp dword [esp + 0x24], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x439d66
push dword [esp + 0x10]
call fcn.00481ffe
add esp, 4
mov ecx, dword [ebp + 8]
mov eax, esi
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi], vtable.std::_System_error.0
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00555894
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43a490
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591798
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x60fe70]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x6c], edi
mov byte [ebp - 0x65], 0
cmp dword [eax + 0x14], 0x10
jb 0x43a4d9
mov eax, dword [eax]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x43a4f9
push 0x603d20
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], 9
push eax
call fcn.005558a3
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x24], xmm0
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
movzx eax, byte [ecx + 3]
push eax
movzx eax, byte [ecx + 2]
push eax
movzx eax, byte [ecx + 1]
push eax
movzx eax, byte [ecx]
push eax
lea eax, [ebp - 0x24]
push str._d._d._d._d
push eax
call fcn.0043bec0
add esp, 0x18
mov dword [ebp - 0x28], 0xf
cmp byte [ebp - 0x24], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
jne 0x43a546
xor ecx, ecx
jmp 0x43a559
lea ecx, [ebp - 0x24]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43a550
sub ecx, edx
push ecx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004227c0
lea edx, [ebp - 0x3c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.0043c470
mov ebx, eax
lea esi, [edi + 0xc]
cmp esi, ebx
je 0x43a5a9
cmp dword [esi + 0x14], 8
jb 0x43a58e
push dword [esi]
call fcn.00481ffe
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push ebx
mov word [esi], ax
call fcn.00421aa0
cmp dword [ebp - 0x40], 8
jb 0x43a5ba
push dword [ebp - 0x54]
call fcn.00481ffe
add esp, 4
xor eax, eax
mov dword [ebp - 0x40], 7
mov byte [ebp - 4], al
cmp dword [ebp - 0x28], 0x10
mov dword [ebp - 0x44], 0
mov word [ebp - 0x54], ax
jb 0x43a5e2
push dword [ebp - 0x3c]
call fcn.00481ffe
add esp, 4
mov eax, dword [edi + 8]
cmp eax, 0xffffffff
je 0x43a5f1
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi + 8], eax
cmp eax, 0xffffffff
jne 0x43a61a
push 0x603d20
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], 0xa
push eax
call fcn.005558a3
push 4
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x2710
push ecx
push 0x1006
push 0xffff
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
push dword [ebp + 0xc]
mov eax, 2
mov word [ebp - 0x64], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x62], ax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x64]
push 0x10
push eax
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x43a684
push 0x603d20
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 2
push eax
call fcn.005558a3
mov al, 1
jmp 0x43a69d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00555894
mov esp, ebp
pop ebp
ret 8
Function at 0x43df00
Capabilities:
Initialize winhttp library

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 0x24]
mov dword [esi], vtable.CWinHttp.0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x1388
mov dword [esi + 0x1c], 0x1388
mov dword [esi + 0x20], 0x1388
call fcn.0043eea0
push 0
push 0
push 0
xorps xmm0, xmm0
push 0
movq qword [esi + 0x7c], xmm0
push 0x5f0b00
mov dword [esi + 0x84], 0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x43df80
mov dword [esi + 0x84], 1
mov eax, esi
pop esi
ret
push dword [esi + 0x20]
push dword [esi + 0x1c]
push dword [esi + 0x18]
push 0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
mov eax, esi
pop esi
ret
Function at 0x43e2e0
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591c40
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x60fe70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x4c], ebx
xor ecx, ecx
mov byte [ebp - 0x11], 0
push ecx
push ecx
push ecx
push dword [ebp + 8]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], ecx
mov ecx, ebx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
call fcn.0043eb60
test al, al
jne 0x43e365
push 0x603d20
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 1
push eax
call fcn.005558a3
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
call fcn.0043ea30
test al, al
jne 0x43e389
push 0x603d20
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 4
push eax
call fcn.005558a3
mov ecx, ebx
call fcn.0043ead0
mov dword [ebx + 4], eax
cmp eax, 0x194
jne 0x43e3af
push 0x603d20
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 5
push eax
call fcn.005558a3
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x43e3d5
push 0x603d20
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 4
push eax
call fcn.005558a3
mov eax, dword [ebp - 0x2c]
cmp eax, 0x800000
jbe 0x43e3f4
push 0x603d20
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0xc
push eax
call fcn.005558a3
push eax
call fcn.00557458
push 0x1000
mov dword [ebp - 0x1c], eax
call fcn.00557458
mov esi, dword [ebp - 0x18]
mov edi, eax
add esp, 8
mov dword [ebp - 0x24], edi
cmp esi, 0x1000
jbe 0x43e431
push edi
call fcn.00557420
mov esi, dword [ebp - 0x18]
push esi
call fcn.00557458
mov edi, eax
add esp, 8
mov dword [ebp - 0x24], edi
lea eax, [ebp - 0x20]
push eax
push esi
push edi
push dword [ebx + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x43e459
push 0x603d20
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 8
push eax
call fcn.005558a3
push dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x28]
add eax, esi
push edi
push eax
call fcn.00555d00
add esi, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
add esp, 0xc
mov dword [ebp - 0x28], esi
push eax
push dword [ebx + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x43e49a
push 0x603d20
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 8
push eax
call fcn.005558a3
mov esi, dword [ebp - 0x18]
test esi, esi
jne 0x43e412
mov bl, 1
jmp 0x43e4c1
test edi, edi
je 0x43e4ce
push edi
call fcn.00557420
add esp, 4
test bl, bl
je 0x43e4e4
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
jmp 0x43e4ef
push dword [ebp - 0x1c]
call fcn.00557420
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43e870
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5912e8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x60fe70]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x60fe70]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
push eax
push edx
push dword [ebp + 0x10]
mov dword [esp + 0x5c], 0
push esi
call fcn.0043eb60
test al, al
jne 0x43e913
lea eax, [esp + 0x28]
mov ecx, edi
push eax
call fcn.00422260
cmp dword [esp + 0x3c], 0x10
jb 0x43e90c
push dword [esp + 0x28]
call fcn.00481ffe
add esp, 4
mov eax, edi
jmp 0x43ea0f
mov ecx, ebx
call fcn.0043ead0
mov dword [ebx + 4], eax
cmp eax, 0x194
jne 0x43e93b
push 0x603d20
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 5
push eax
call fcn.005558a3
push 0x1000
call fcn.00557458
add esp, 4
mov byte [esp + 0x17], 0
mov edi, eax
lea eax, [esp + 0x1c]
push eax
push dword [ebx + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x43e9c1
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x43e9bc
cmp esi, 0x1000
jbe 0x43e986
push edi
call fcn.00557420
mov esi, dword [esp + 0x20]
push esi
call fcn.00557458
add esp, 8
mov edi, eax
lea eax, [esp + 0x20]
push eax
push esi
push edi
push dword [ebx + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x43e9c1
push dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push edi
call fcn.00428d40
lea eax, [esp + 0x1c]
push eax
push dword [ebx + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x43e961
jmp 0x43e9c1
mov byte [esp + 0x17], 1
push edi
call fcn.00557420
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x43e9ea
cmp dword [esp + 0x3c], 0x10
lea eax, [esp + 0x28]
mov dword [esp + 0x38], 0
cmovae eax, dword [esp + 0x28]
mov byte [eax], 0
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.00422260
cmp dword [esp + 0x3c], 0x10
jb 0x43ea0d
push dword [esp + 0x28]
call fcn.00481ffe
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00555894
mov esp, ebp
pop ebp
ret 0x14
Function at 0x43ea30
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x60fe70]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0x2e
push eax
mov word [ebp - 0x34], ax
mov esi, ecx
lea eax, [ebp - 0x32]
xor bl, bl
push eax
call fcn.00557390
add esp, 0xc
mov dword [ebp - 0x3c], 0x30
lea eax, [ebp - 0x3c]
push 0
push eax
lea eax, [ebp - 0x34]
push eax
push 0
push 5
push dword [esi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x43eab1
push 0xa
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00559967
add esp, 0xc
mov dword [edi], eax
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00555894
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00555894
mov esp, ebp
pop ebp
ret 4

Function at 0x43ead0
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x60fe70]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov esi, ecx
push 0x2e
push eax
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x32]
push eax
call fcn.00557390
add esp, 0xc
mov dword [ebp - 0x3c], 0x30
lea eax, [ebp - 0x3c]
push 0
push eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x13
push dword [esi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
pop esi
test eax, eax
je 0x43eb42
push 0xa
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00559967
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00555894
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00555894
mov esp, ebp
pop ebp
ret
Function at 0x43edb0
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591d38
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x60fe70]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x40]
mov ebx, dword [ebp + 0xc]
lea ecx, [edi + 0x24]
push eax
call fcn.0043f6b0
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c470
cmp dword [ebp - 0x2c], 0x10
jb 0x43ee11
push dword [ebp - 0x40]
call fcn.00481ffe
add esp, 4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0xa0000000
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [edi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test esi, esi
jne 0x43ee36
xor ecx, ecx
jmp 0x43ee49
mov ecx, esi
lea edx, [ecx + 1]
jmp 0x43ee40
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43ee40
sub ecx, edx
push 0
push ecx
push ecx
push esi
test ebx, ebx
jne 0x43ee56
push ebx
push ebx
jmp 0x43ee59
push 0xffffffffffffffff
push ebx
push dword [edi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
cmp eax, 1
sete bl
cmp dword [ebp - 0x14], 8
jb 0x43ee79
push dword [ebp - 0x28]
call fcn.00481ffe
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00555894
mov esp, ebp
pop ebp
ret 8