Function at 0x417360
Capabilities:
Receive http response
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4481d0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x458ad0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x458ad0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [esp + 0x88]
xor ebx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x84], ebx
call fcn.00407eb0
mov byte [esp + 0x80], 1
push 0xc
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
call fcn.0041e1c4
add esp, 4
cmp eax, ebx
je 0x4173de
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov edi, eax
jmp 0x4173e0
xor edi, edi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xb0]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00403f10
mov ecx, edi
call fcn.004170f0
cmp eax, ebx
je 0x41752f
mov ebp, dword [sym.imp.WINHTTP.dll_WinHttpReadData]
jmp 0x417420
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov ecx, dword [edi + 8]
push eax
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x41744b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__u_in_WinHttpQueryDataAvailable._n
call fcn.00438d8e
add esp, 8
mov edx, dword [esp + 0x14]
inc edx
push edx
call fcn.0041e1f3
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x41751e
mov eax, dword [esp + 0x14]
inc eax
push eax
push ebx
push esi
call fcn.0042a320
mov edx, dword [esp + 0x20]
mov eax, dword [edi + 8]
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push edx
push esi
push eax
call ebp
test eax, eax
jne 0x41749e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__u_in_WinHttpReadData._n
call fcn.00438d8e
add esp, 8
jmp 0x417509
push esi
push 0x44f5a8
call fcn.00438d8e
mov eax, esi
add esp, 8
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4174c1
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x44]
call fcn.004051d0
lea ecx, [esp + 0x3c]
push ecx
lea ebx, [esp + 0x24]
mov byte [esp + 0x84], 2
call fcn.00407f60
mov byte [esp + 0x80], 1
cmp dword [esp + 0x54], 0x10
jb 0x417507
mov edx, dword [esp + 0x40]
push edx
call fcn.0041e1fe
add esp, 4
xor ebx, ebx
push esi
call fcn.0041e1fe
add esp, 4
cmp dword [esp + 0x14], ebx
ja 0x417420
jmp 0x41752f
push str.Out_of_memory_n
call fcn.00438d8e
add esp, 4
mov dword [esp + 0x14], ebx
mov eax, dword [edi + 8]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp eax, ebx
je 0x41753f
push eax
call esi
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x417549
push eax
call esi
mov eax, dword [edi]
cmp eax, ebx
je 0x417552
push eax
call esi
push edi
call fcn.0041e1fe
add esp, 4
push ebx
push 0x44e187
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
call fcn.004051d0
mov byte [esp + 0x80], 3
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x2c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
xor edi, edi
cmp eax, ebx
jle 0x4175e6
xor ebp, ebp
cmp edi, eax
jb 0x4175ae
call fcn.004293c8
mov eax, dword [esp + 0x2c]
lea ecx, [eax + ebp]
push ebx
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x60]
call fcn.00404fd0
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x2c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
add ebp, 0x1c
cmp edi, eax
jl 0x4175a7
mov ecx, dword [esp + 0x5c]
mov ebp, 0x10
cmp dword [esp + 0x70], ebp
jae 0x4175f9
lea ecx, [esp + 0x5c]
mov edi, dword [esp + 0x18]
push edi
call fcn.004074b0
add esp, 4
cmp dword [esp + 0x70], ebp
jb 0x417619
mov edx, dword [esp + 0x5c]
push edx
call fcn.0041e1fe
add esp, 4
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
cmp esi, ebx
je 0x417677
mov edi, dword [esp + 0x30]
cmp esi, edi
je 0x41766a
add esi, 0x18
lea esp, [esp]
cmp dword [esi], ebp
jb 0x417650
mov eax, dword [esi - 0x14]
push eax
call fcn.0041e1fe
add esp, 4
mov dword [esi], 0xf
mov dword [esi - 4], ebx
mov byte [esi - 0x14], bl
add esi, 0x1c
lea ecx, [esi - 0x18]
cmp ecx, edi
jne 0x417640
mov esi, dword [esp + 0x2c]
push esi
call fcn.0041e1fe
mov edi, dword [esp + 0x1c]
add esp, 4
mov edx, dword [esp + 0x20]
push edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.0041e1fe
add esp, 4
cmp dword [esp + 0xa4], ebp
jb 0x4176a9
mov eax, dword [esp + 0x90]
push eax
call fcn.0041e1fe
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00428e93
add esp, 0x70
ret 0x20