joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429580
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e47ad
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x522104]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
lea eax, [edi + 0x3c]
movlpd qword [ebp - 0x1c], xmm0
push eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
call fcn.004a3203
add esp, 4
test eax, eax
jne 0x4296de
mov byte [ebp - 0x18], 1
push 0x48
mov dword [ebp - 4], eax
call fcn.004a4ca1
add esp, 4
mov esi, eax
mov ecx, esi
push dword [ebp - 0x28]
call fcn.004971d0
mov eax, dword [ebp - 0x2c]
xorps xmm0, xmm0
movups xmmword [esi + 0x18], xmm0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x14], esi
movups xmmword [esi + 0x18], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x28], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], edi
mov dword [esi + 0x40], 0x429840
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 1
push eax
push 0
push esi
push 0x42ac40
push 0
push 0
call fcn.004b75dc
mov edx, eax
add esp, 0x18
mov dword [ebp - 0x24], edx
test edx, edx
je 0x4296d0
mov byte [ebp - 4], 2
mov ecx, dword [edi + 0x70]
cmp ecx, dword [edi + 0x74]
je 0x429694
mov eax, dword [ebp - 0x20]
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov dword [ecx], edx
mov dword [ecx + 4], eax
add dword [edi + 0x70], 8
jmp 0x4296a1
lea eax, [ebp - 0x24]
push eax
push ecx
lea ecx, [edi + 0x6c]
call fcn.00426760
cmp dword [ebp - 0x20], 0
jne 0x4296e4
lea eax, [edi + 0x3c]
push eax
call fcn.004a3228
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4c5b
mov esp, ebp
pop ebp
ret 0xc
push 6
mov dword [ebp - 0x20], 0
call fcn.004a2938
push eax
call fcn.004a290b
call fcn.004b5e35
int3
Function at 0x4296f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4814
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x522104]
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 eax, dword [ebp + 0xc]
lea ebx, [edi + 0x3c]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
movlpd qword [ebp - 0x1c], xmm0
push ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], 0
call fcn.004a3203
add esp, 4
test eax, eax
jne 0x429829
mov byte [ebp - 0x18], 1
push 0x48
mov dword [ebp - 4], eax
call fcn.004a4ca1
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
push dword [ebp - 0x28]
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00497280
push dword [ebp - 0x2c]
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 2
call fcn.00423d50
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], esi
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], edi
mov dword [esi + 0x40], 0x429840
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 3
push eax
push 0
push esi
push 0x42ac40
push 0
push 0
call fcn.004b75dc
mov edx, eax
add esp, 0x18
mov dword [ebp - 0x24], edx
test edx, edx
je 0x42981b
mov byte [ebp - 4], 4
mov ecx, dword [edi + 0x70]
cmp ecx, dword [edi + 0x74]
je 0x4297e1
mov eax, dword [ebp - 0x20]
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov dword [ecx], edx
mov dword [ecx + 4], eax
add dword [edi + 0x70], 8
jmp 0x4297ee
lea eax, [ebp - 0x24]
push eax
push ecx
lea ecx, [edi + 0x6c]
call fcn.00426760
cmp dword [ebp - 0x20], 0
jne 0x42982f
push ebx
call fcn.004a3228
add esp, 4
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.004a4c5b
mov esp, ebp
pop ebp
ret 0xc
push 6
mov dword [ebp - 0x20], 0
call fcn.004a2938
push eax
call fcn.004a290b
call fcn.004b5e35
int3
Function at 0x43f1a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5d70
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x522104]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004a4ca1
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004a2534
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
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 0x4467d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e667d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x522104]
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, edx
push ecx
push 1
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
push eax
call fcn.0048e3c0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], 8
push ecx
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push str.Cannot_query_registry_value
mov ecx, eax
call fcn.0048cb30
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov ebx, dword [ebp - 0x28]
add esp, 4
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 0
cmp byte [ebp - 0x30], dl
mov eax, dword [ebp - 0x34]
cmove eax, edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x34], eax
test eax, eax
je 0x446884
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x446881
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], 0
cmp esi, 0xb
jne 0x4468bd
mov dword [edi], ebx
mov al, 1
mov dword [edi + 4], ecx
jmp 0x4468a1
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.004a4c5b
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.004169e0
push eax
push 0xb
lea ecx, [ebp - 0x50]
call fcn.0048cab0
push 0x51f594
lea eax, [ebp - 0x50]
push eax
call fcn.004a765b
int3

Function at 0x447610
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e6808
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x522104]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov dword [ebp - 4], eax
movups xmmword [edi + 0x38], xmm0
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], 7
mov word [edi + 0x38], ax
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], eax
mov dword [edi + 0x68], eax
lea esi, [edi + 0x70]
mov byte [ebp - 4], 1
push 0x2c
mov dword [ebp - 0x14], esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.004a4ca1
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 eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x447aa0
Capabilities:
Get process heap force flags

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e68f8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
push esi
push edi
mov eax, dword [0x522104]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ecx], vtable.asw::instup::State.0
lea edx, [ecx + 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0x18], edx
movups xmmword [ecx + 8], xmm0
mov dword [edx], 0
xor edx, edx
mov dword [ecx + 0x1c], 7
mov word [ecx + 8], dx
mov dword [ebp - 4], edx
lea edx, [ecx + 0x30]
movups xmmword [ecx + 0x20], xmm0
mov dword [edx], 0
mov dword [ebp - 0x1c], edx
xor edx, edx
mov dword [ecx + 0x34], 7
mov word [ecx + 0x20], dx
lea edx, [ecx + 0x48]
movups xmmword [ecx + 0x38], xmm0
mov dword [edx], 0
mov dword [ebp - 0x20], edx
xor edx, edx
mov dword [ecx + 0x4c], 7
mov word [ecx + 0x38], dx
movups xmmword [ecx + 0x50], xmm0
xor eax, eax
mov dword [ecx + 0x60], edx
mov dword [ecx + 0x64], 7
mov word [ecx + 0x50], ax
lea edx, [ecx + 0x78]
movups xmmword [ecx + 0x68], xmm0
mov dword [edx], eax
mov dword [ebp - 0x24], edx
xor edx, edx
mov dword [ecx + 0x7c], 7
mov word [ecx + 0x68], dx
lea edi, [ecx + 0x80]
lea eax, [edi + 0x10]
movups xmmword [edi], xmm0
mov dword [eax], edx
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov word [edi], ax
lea esi, [ecx + 0x98]
lea eax, [esi + 0x10]
movups xmmword [esi], xmm0
mov dword [eax], edx
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov word [esi], ax
add ecx, 0xb0
mov byte [ebp - 4], 6
call fcn.00439490
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x1c], 8
lea eax, [ecx + 8]
jb 0x447bc5
mov eax, dword [eax]
mov edx, dword [ebp - 0x18]
mov dword [edx], 0
xor edx, edx
mov word [eax], dx
lea eax, [ecx + 0x20]
cmp dword [eax + 0x14], 8
jb 0x447bde
mov eax, dword [eax]
mov edx, dword [ebp - 0x1c]
mov dword [edx], 0
xor edx, edx
mov word [eax], dx
lea eax, [ecx + 0x38]
cmp dword [eax + 0x14], 8
jb 0x447bf7
mov eax, dword [eax]
mov edx, dword [ebp - 0x20]
mov dword [edx], 0
xor edx, edx
mov word [eax], dx
lea eax, [ecx + 0x68]
cmp dword [eax + 0x14], 8
jb 0x447c10
mov eax, dword [eax]
mov edx, dword [ebp - 0x24]
mov dword [edx], 0
xor edx, edx
mov word [eax], dx
cmp dword [edi + 0x14], 8
jb 0x447c26
mov edi, dword [edi]
mov eax, dword [ebp - 0x28]
mov dword [eax], edx
xor eax, eax
mov word [edi], ax
cmp dword [esi + 0x14], 8
jb 0x447c38
mov esi, dword [esi]
mov eax, dword [ebp - 0x2c]
mov dword [eax], edx
xor eax, eax
mov word [esi], ax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x454f00
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7bf3
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x522104]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
xor esi, esi
mov dword [ebp - 0x2c], edi
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [ebp - 4], esi
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 1
call fcn.00456020
mov dword [edi + 0x88], esi
mov dword [edi + 0x8c], esi
mov dword [edi + 0x90], esi
mov dword [edi + 0x94], esi
xorps xmm0, xmm0
mov dword [edi + 0x98], esi
xor eax, eax
movups xmmword [edi + 0x9c], xmm0
mov dword [edi + 0xac], esi
mov dword [edi + 0xb0], 7
mov word [edi + 0x9c], ax
movups xmmword [edi + 0xb4], xmm0
mov dword [edi + 0xc4], eax
mov dword [edi + 0xc8], 7
mov word [edi + 0xb4], ax
movups xmmword [edi + 0xcc], xmm0
mov dword [edi + 0xdc], eax
mov dword [edi + 0xe0], 7
mov word [edi + 0xcc], ax
mov dword [edi + 0xe4], 0xfde9
mov dword [edi + 0xe8], 1
movups xmmword [edi + 0xec], xmm0
mov dword [edi + 0xfc], eax
mov dword [edi + 0x100], 7
mov word [edi + 0xec], ax
movups xmmword [edi + 0x104], xmm0
mov dword [edi + 0x114], eax
mov dword [edi + 0x118], 7
mov word [edi + 0x104], ax
mov byte [ebp - 4], 0xa
mov dword [edi + 0x11c], 0xfde9
mov dword [edi + 0x120], eax
call fcn.00490090
push dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test al, al
mov ecx, 4
push 0x10000000
push 0
push 0
cmovne esi, ecx
push esi
push str.Avast_SimpleHttp_3.0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
push eax
mov ecx, edi
call fcn.00455520
mov eax, dword [edi]
test eax, eax
je 0x455111
push 4
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0x80
push ecx
push 0x54
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x455133
or dword [ebp - 0x14], 0x200
call fcn.00490010
test al, al
je 0x4550a0
or dword [ebp - 0x14], 0x800
push 4
lea eax, [ebp - 0x14]
push eax
push 0x54
push dword [edi]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x4550bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x455133
push 0x3a98
push 0x3a98
push 0x7530
push 0
push dword [edi]
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x4550f2
push str.Unable_to_set_WinHTTP_timeouts_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x28]
call fcn.00492530
jmp 0x45514b
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4c5b
mov esp, ebp
pop ebp
ret 0x14
push str.Unable_to_initialize_a_WinHTTP_session_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x28]
call fcn.00492530
push 0x51f1f8
lea eax, [ebp - 0x28]
push eax
call fcn.004a765b
mov esi, dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push str.Unable_to_set_WinHTTP_protocols___08lx__
push eax
lea ecx, [ebp - 0x28]
call fcn.00413ae0
push 0x51f1f8
lea eax, [ebp - 0x28]
push eax
call fcn.004a765b
int3
Function at 0x4566e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7e2d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x522104]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
call fcn.004a4ca1
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [eax], esi
mov dword [eax + 4], 0x456ef0
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x456e80
push 0
push 0
call fcn.004b75dc
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x456772
cmp dword [esi + 0x38], 0
jne 0x456780
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x34], ecx
mov dword [esi + 0x38], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4c5b
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x18], 0
call fcn.004a2938
call fcn.004b5e35
int3
Function at 0x456b00
Capabilities:
Read http header

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7ebe
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
mov eax, dword [0x522104]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov esi, dword [ebx + 8]
xorps xmm0, xmm0
mov edi, dword [ebx + 0xc]
xor eax, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], 0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x18], eax
mov eax, edi
mov dword [ebp - 0x1c], 1
jb 0x456b8f
mov eax, dword [edi]
push 0
lea edx, [ebp - 0x18]
push edx
push 0
push eax
push 0xffff
push dword [ecx + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x456bb9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x456c64
mov eax, dword [ebp - 0x18]
mov ecx, dword [esi + 0x10]
shr eax, 1
cmp eax, ecx
ja 0x456bda
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x456bcf
mov ecx, dword [esi]
xor edx, edx
mov dword [esi + 0x10], eax
mov word [ecx + eax*2], dx
jmp 0x456be6
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.0040c590
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x456bf0
mov eax, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x456bf8
mov edi, dword [edi]
push 0
lea ecx, [ebp - 0x18]
push ecx
push eax
mov eax, dword [ebp - 0x20]
push edi
push 0xffff
push dword [eax + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x456c86
mov eax, dword [ebp - 0x18]
mov ecx, dword [esi + 0x10]
shr eax, 1
cmp eax, ecx
ja 0x456c36
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x456c2b
mov ecx, dword [esi]
xor edx, edx
mov dword [esi + 0x10], eax
mov word [ecx + eax*2], dx
jmp 0x456c42
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.0040c590
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a4c5b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
push str.Unable_to_query_response_headers_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x38]
call fcn.00492530
push 0x51f1f8
lea eax, [ebp - 0x38]
push eax
call fcn.004a765b
push str.Unable_to_query_response_headers_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x38]
call fcn.00492530
push 0x51f1f8
lea eax, [ebp - 0x38]
push eax
call fcn.004a765b
int3
Function at 0x4598e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e8455
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x522104]
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 edi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [edi + 0x88]
cmp dword [ebx], eax
jl 0x459a42
call fcn.0045a060
sub esp, 8
mov ecx, ebx
mov eax, esp
mov dword [eax], 0x509368
mov dword [eax + 4], 2
lea eax, [ebp - 0x38]
push eax
call fcn.0045db40
xorps xmm0, xmm0
mov dword [ebp - 4], 0
lea esi, [edi + 0x44]
movlpd qword [ebp - 0x1c], xmm0
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x60]
test eax, eax
je 0x459964
lock inc dword [eax + 4]
mov eax, dword [edi + 0x5c]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x60]
push esi
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
cmp dword [ebp - 0x24], 0x10
mov eax, dword [ebp - 0x3c]
cmovae ecx, dword [ebp - 0x38]
mov dword [ebp - 0x20], 0
test eax, eax
je 0x45999b
mov eax, dword [eax]
jmp 0x45999e
or eax, 0xffffffff
push 0
lea edx, [ebp - 0x20]
push edx
push dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x459a60
mov eax, dword [edi + 0x8c]
cmp dword [ebx], eax
jl 0x4599d6
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4599cc
mov eax, dword [eax]
jmp 0x4599cf
or eax, 0xffffffff
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x459a12
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x459a12
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4ee33c]
mov ecx, edi
call esi
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x459a12
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4ee33c]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x459a42
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x459a38
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459a7c
push ecx
push edx
call fcn.004a4c93
add esp, 8
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.004a4c5b
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x50]
call fcn.00492470
push 0x51f1f8
mov eax, ecx
push eax
call fcn.004a765b
call fcn.004b14ff
int3
Function at 0x45b960
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e87ed
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x522104]
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 ebx, ecx
mov dword [ebp - 0x20], ebx
push 0x64
call fcn.004a4ca1
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
lea esi, [edi + 4]
mov word [edi], 0
push 2
push esi
call fcn.004a31e4
lea eax, [edi + 0x34]
push eax
call fcn.004a3a9e
add ebx, 0xffffffe4
lea eax, [ebp - 0x24]
add esp, 0xc
xorps xmm0, xmm0
movq qword [edi + 0x5c], xmm0
cmp ebx, eax
je 0x45b9fc
mov esi, dword [ebx]
mov dword [ebx], edi
test esi, esi
je 0x45ba1c
cmp dword [esi + 0x60], 0
jne 0x45ba97
lea eax, [esi + 0x34]
push eax
call fcn.004a3a81
add esp, 4
lea eax, [esi + 4]
push eax
call fcn.004a31ba
add esp, 4
push 0x64
push esi
jmp 0x45ba14
lea eax, [edi + 0x34]
push eax
call fcn.004a3a81
add esp, 4
push esi
call fcn.004a31ba
add esp, 4
push 0x64
push edi
call fcn.004a4c93
add esp, 8
mov esi, dword [ebp - 0x20]
push 4
add esi, 0xffffff54
call fcn.004a4ca1
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [eax], esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x45c7a0
push 0
push 0
call fcn.004b75dc
mov edx, eax
add esp, 0x18
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x45ba9c
mov ecx, dword [ebx]
cmp dword [ecx + 0x60], 0
jne 0x45ba97
mov eax, dword [ebp - 0x18]
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov dword [ecx + 0x5c], edx
mov dword [ecx + 0x60], eax
cmp dword [ebp - 0x18], 0
jne 0x45ba97
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.004a4c5b
mov esp, ebp
pop ebp
ret
call fcn.004b5e35
push 6
mov dword [ebp - 0x18], 0
call fcn.004a2938
int3