Function at 0x407a40
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4459c3
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x45c3a4]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x45c3a4]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
push 0x38
lea eax, [esp + 0x4c]
push 0
push eax
mov dword [esp + 0x50], 0x3c
call fcn.00427e80
add esp, 0xc
cmp dword [esi + 0x14], 8
mov dword [esp + 0x4c], 1
mov dword [esp + 0x58], 1
mov dword [esp + 0x64], 1
mov dword [esp + 0x6c], 1
mov dword [esp + 0x74], 1
mov dword [esp + 0x7c], 1
jb 0x407ad6
mov esi, dword [esi]
lea eax, [esp + 0x44]
push eax
push 0
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
jne 0x407af1
xor al, al
jmp 0x407e89
xor eax, eax
mov dword [esp + 0xc4], 7
mov dword [esp + 0xc0], 0
mov word [esp + 0xb0], ax
mov dword [esp + 0xd8], eax
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], eax
mov word [esp + 0x80], ax
mov dword [esp + 0xac], 7
mov dword [esp + 0xa8], eax
mov word [esp + 0x98], ax
mov byte [esp + 0xd8], 2
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x407bea
mov eax, dword [esp + 0x58]
push dword [esp + 0x28]
lea eax, [ecx + eax*2]
push eax
xor edx, edx
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], dx
call fcn.00408550
cmp dword [esp + 0xc4], 8
jb 0x407ba6
push dword [esp + 0xb0]
call fcn.0041b8e3
add esp, 4
xor eax, eax
mov word [esp + 0xb0], ax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xb4]
mov dword [esp + 0xc8], 7
mov dword [esp + 0xc4], 0
call fcn.00403450
cmp dword [esp + 0x24], 8
jb 0x407bea
push dword [esp + 0x10]
call fcn.0041b8e3
add esp, 4
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x407c80
mov eax, dword [esp + 0x74]
push dword [esp + 0x28]
lea eax, [ecx + eax*2]
push eax
xor edx, edx
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], dx
call fcn.00408550
cmp dword [esp + 0x94], 8
jb 0x407c3c
push dword [esp + 0x80]
call fcn.0041b8e3
add esp, 4
xor eax, eax
mov word [esp + 0x80], ax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x84]
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], 0
call fcn.00403450
cmp dword [esp + 0x24], 8
jb 0x407c80
push dword [esp + 0x10]
call fcn.0041b8e3
add esp, 4
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x407d16
mov eax, dword [esp + 0x7c]
push dword [esp + 0x28]
lea eax, [ecx + eax*2]
push eax
xor edx, edx
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], dx
call fcn.00408550
cmp dword [esp + 0xac], 8
jb 0x407cd2
push dword [esp + 0x98]
call fcn.0041b8e3
add esp, 4
xor eax, eax
mov word [esp + 0x98], ax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x9c]
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], 0
call fcn.00403450
cmp dword [esp + 0x24], 8
jb 0x407d16
push dword [esp + 0x10]
call fcn.0041b8e3
add esp, 4
push dword [esp + 0x5c]
mov esi, dword [esp + 0x54]
lea eax, [esp + 0xb4]
push eax
mov ecx, edi
call fcn.004079d0
test al, al
je 0x407dfa
push 0x44e65c
lea ecx, [esp + 0x30]
call fcn.00403b10
lea eax, [esp + 0x98]
push eax
lea edx, [esp + 0x84]
lea ecx, [esp + 0x14]
mov byte [esp + 0xdc], 3
call fcn.00408490
add esp, 4
cmp esi, 2
sete cl
movzx ecx, cl
push ecx
push ecx
push eax
lea eax, [esp + 0x38]
push eax
mov ecx, edi
call fcn.00407eb0
test al, al
sete bl
cmp dword [esp + 0x24], 8
jb 0x407d96
push dword [esp + 0x10]
call fcn.0041b8e3
add esp, 4
xor eax, eax
cmp dword [esp + 0x40], 8
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
jb 0x407dc0
push dword [esp + 0x2c]
call fcn.0041b8e3
add esp, 4
test bl, bl
jne 0x407dfa
mov eax, dword [edi + 0x10]
test eax, eax
je 0x407dfa
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
setne al
test al, al
je 0x407dfa
push 0
push dword [edi + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x407dfa
mov bl, 1
jmp 0x407dfc
xor bl, bl
cmp dword [esp + 0xac], 8
jb 0x407e15
push dword [esp + 0x98]
call fcn.0041b8e3
add esp, 4
xor eax, eax
cmp dword [esp + 0x94], 8
mov dword [esp + 0xac], 7
mov dword [esp + 0xa8], 0
mov word [esp + 0x98], ax
jb 0x407e4e
push dword [esp + 0x80]
call fcn.0041b8e3
add esp, 4
xor eax, eax
cmp dword [esp + 0xc4], 8
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], 0
mov word [esp + 0x80], ax
jb 0x407e87
push dword [esp + 0xb0]
call fcn.0041b8e3
add esp, 4
mov al, bl
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.0041b8d4
mov esp, ebp
pop ebp
ret 8