Function at 0x421b00
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x14], ecx
mov byte [ebp - 1], 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00423d90
movzx ecx, al
test ecx, ecx
je 0x421ca1
mov edx, dword [ebp - 0x14]
add edx, 0x15c
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 8
jb 0x421b44
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x18], edx
jmp 0x421b4d
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x140
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x18], 8
jb 0x421b6d
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
jmp 0x421b76
mov edx, dword [ebp - 0xc]
add edx, 4
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x14]
add eax, 0xf8
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x18], 8
jb 0x421b95
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x20], eax
jmp 0x421b9e
mov ecx, dword [ebp - 0x10]
add ecx, 4
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00422410
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x421bd0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.004223c0
mov byte [ebp - 2], 0
mov ecx, dword [ebp - 0x14]
push ecx
push 0
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x421bf9
mov byte [ebp - 2], 1
jmp 0x421c43
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xc]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.004226a0
movzx eax, al
test eax, eax
je 0x421c43
mov ecx, dword [ebp - 0x14]
push ecx
push 0
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x421c34
mov byte [ebp - 2], 1
jmp 0x421c43
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x114], eax
movzx edx, byte [ebp - 2]
test edx, edx
je 0x421ca1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00422750
movzx edx, al
test edx, edx
je 0x421ca1
push 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x421c92
movzx edx, byte [ebp + 0x14]
push edx
movzx eax, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xc]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.00423880
mov byte [ebp - 1], al
jmp 0x421ca1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x114], eax
movzx edx, byte [ebp - 1]
test edx, edx
je 0x421cb3
mov ecx, dword [ebp - 0x14]
call fcn.00421d50
jmp 0x421cc5
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x114]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00421d90
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret 0x10