Function at 0x467eb0
Capabilities:
Receive http response
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dddf0
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x520078]
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 ebx, ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 0x40]
sub ecx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x40]
sub eax, dword [ebx + 0x3c]
push 0
push ecx
push eax
push dword [ebx + 0x3c]
mov dword [ebp - 0x34], ebx
push 0
push 0
push dword [ebx + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x467f2e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x58]
call fcn.0047e390
push 0x51d3f8
lea eax, [ebp - 0x58]
push eax
call fcn.004acc20
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x14]
push 0xffffffffffffffff
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push 0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 0xffffffff
jne 0x467f6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0047e390
push 0x51d3f8
lea eax, [ebp - 0x6c]
push eax
call fcn.004acc20
test eax, eax
jne 0x467f8b
push 0x2ef1
lea ecx, [ebp - 0x80]
call fcn.0047e390
push 0x51d3f8
lea eax, [ebp - 0x80]
push eax
call fcn.004acc20
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x467faf
push eax
lea ecx, [ebp - 0x94]
call fcn.0047e390
push 0x51d3f8
lea eax, [ebp - 0x94]
push eax
call fcn.004acc20
push 0
push dword [ebx + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x467fe1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0xa8]
call fcn.0047e390
push 0x51d3f8
lea eax, [ebp - 0xa8]
push eax
call fcn.004acc20
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1c]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 0xffffffff
jne 0x468019
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0xbc]
call fcn.0047e390
push 0x51d3f8
lea eax, [ebp - 0xbc]
push eax
call fcn.004acc20
test eax, eax
jne 0x46803e
push 0x2ef1
lea ecx, [ebp - 0xd0]
call fcn.0047e390
push 0x51d3f8
lea eax, [ebp - 0xd0]
push eax
call fcn.004acc20
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x468062
push eax
lea ecx, [ebp - 0xe4]
call fcn.0047e390
push 0x51d3f8
lea eax, [ebp - 0xe4]
push eax
call fcn.004acc20
push dword [ebx + 0x18]
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [ebx + 0x48], 0
jne 0x468081
cmp dword [ebx + 0x68], 0
jne 0x468081
cmp dword [ebx + 0x4c], 0
je 0x46829f
push dword [ebx + 0x54]
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x30], xmm0
call fcn.00468d00
or esi, 0xffffffff
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 2
cmp dword [ebx + 0x68], 0
je 0x468110
cmp dword [ebx + 0x6c], 8
jb 0x4680b6
mov eax, dword [ebx + 0x58]
jmp 0x4680b9
lea eax, [ebx + 0x58]
push 0
push 0x80
push 4
push 0
push 5
push 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x24], esi
cmp esi, 0xffffffff
jne 0x468110
lea ecx, [ebx + 0x58]
call fcn.004159e0
push eax
push 0x502918
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.0047e450
add esp, 0x10
lea eax, [ebp - 0xf8]
push 0x51d3f8
push eax
call fcn.004acc20
nop
push 0
push dword [ebx + 0x54]
push dword [ebp - 0x30]
push dword [ebx + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x468148
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x10c]
call fcn.0047e390
push 0x51d3f8
lea eax, [ebp - 0x10c]
push eax
call fcn.004acc20
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1c]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 0xffffffff
jne 0x468180
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x120]
call fcn.0047e390
push 0x51d3f8
lea eax, [ebp - 0x120]
push eax
call fcn.004acc20
test eax, eax
jne 0x4681a5
push 0x2ef1
lea ecx, [ebp - 0x134]
call fcn.0047e390
push 0x51d3f8
lea eax, [ebp - 0x134]
push eax
call fcn.004acc20
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x4681c9
push eax
lea ecx, [ebp - 0x148]
call fcn.0047e390
push 0x51d3f8
lea eax, [ebp - 0x148]
push eax
call fcn.004acc20
mov ecx, dword [ebx + 0x4c]
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x46821b
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 0
mov eax, dword [ecx]
lea ecx, [ebp - 0x40]
push ecx
push dword [ebp - 0x30]
mov edi, dword [eax]
mov ecx, edi
call dword [0x4e3310]
mov ecx, dword [ebp - 0x20]
call edi
mov eax, dword [ebx + 0x2c]
add dword [ebx + 0x70], eax
test eax, eax
jne 0x468110
lea ecx, [ebp - 0x24]
call fcn.00414ec0
lea ecx, [ebp - 0x30]
call fcn.00417380
jmp 0x46829f
mov ecx, dword [ebx + 0x48]
test ecx, ecx
je 0x46823b
mov edx, dword [ebx + 0x2c]
mov eax, dword [ebp - 0x30]
add edx, eax
mov byte [ebp - 0x38], 0
push dword [ebp - 0x38]
push edx
push eax
push dword [ecx + 4]
call fcn.00468e20
cmp esi, 0xffffffff
je 0x4681f8
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push dword [ebx + 0x2c]
push dword [ebp - 0x30]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4681f8
push str.Unable_to_write_to_the_file_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.0047e450
add esp, 0xc
lea eax, [ebp - 0x15c]
push 0x51d3f8
push eax
call fcn.004acc20
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x30], ecx
mov eax, 0x46829c
ret
push dword [ebx + 0x18]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x4682b5
push dword [ebx + 0x1c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
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.00493bec
mov esp, ebp
pop ebp
ret