Function at 0x438df2
Capabilities:
Prepare http request

Disassembly:
push 0x64
mov eax, 0x472230
call fcn.00459c76
mov edi, ecx
mov esi, ebx
mov dword [ebp - 0x6c], edi
mov byte [ebp - 0x66], 0
call fcn.00439030
mov ecx, dword [ebx + 0x1ac]
mov eax, dword [ecx]
push 4
call dword [eax + 4]
test al, al
jne 0x438e3a
mov dword [ebx + 0x120], 0x2e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x118], eax
jmp 0x439027
push edi
lea esi, [ebp - 0x64]
call fcn.0040ba81
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [ebx + 0x28], eax
jne 0x438e59
mov dword [ebx + 0x120], 0x2f
jmp 0x438e75
lea edi, [ebp - 0x64]
call fcn.00437f07
test al, al
jne 0x438e80
mov eax, dword [ebp - 0x6c]
mov dword [ebx + 0x120], 0x30
mov eax, dword [eax + 0x14]
mov dword [ebx + 0x118], eax
jmp 0x43901b
mov esi, ebx
call fcn.00438b61
test al, al
je 0x43901b
push dword [ebx + 0x1a8]
push dword [ebx + 0x1a4]
push dword [ebx + 0x1a0]
push dword [ebx + 0x19c]
push dword [ebx + 4]
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
xor edi, edi
push edi
push 0x10000
push 0x43905c
push dword [ebx + 4]
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
push 7
pop eax
xor ecx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edi
mov word [ebp - 0x44], cx
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x65]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
sub esp, 0x1c
mov byte [ebp - 4], 2
lea eax, [ebx + 0x14]
mov esi, esp
mov dword [ebp - 0x70], esp
push eax
call fcn.0040ba81
lea ecx, [ebp - 0x6c]
call fcn.00438c72
test al, al
je 0x438fef
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x438f1e
lea eax, [ebp - 0x44]
push edi
push dword [ebp - 0x6c]
push eax
push dword [ebx + 4]
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebx + 8], eax
cmp eax, edi
je 0x438fd0
movzx ecx, byte [ebp - 0x65]
mov esi, dword [ebp - 0x28]
neg ecx
sbb ecx, ecx
and ecx, 0x800000
cmp dword [ebp - 0x14], 8
jae 0x438f51
lea esi, [ebp - 0x28]
cmp dword [ebp - 0x4c], 8
mov edx, dword [ebp - 0x60]
jae 0x438f5d
lea edx, [ebp - 0x60]
push ecx
push edi
push edi
push edi
push esi
push edx
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [ebx + 0xc], eax
cmp eax, edi
je 0x438fc4
cmp byte [ebx + 0x10], 0
jne 0x438f93
cmp byte [ebp - 0x65], 0
je 0x438f93
push 4
lea ecx, [ebp - 0x70]
push ecx
push 0x1f
push eax
mov dword [ebp - 0x70], 0x3100
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
push dword [ebx + 0xc]
lea eax, [ebx + 0xe0]
mov esi, ebx
call fcn.00438bad
test al, al
je 0x438fe6
lea eax, [ebx + 0xbc]
push eax
push dword [ebx + 0xc]
mov edi, ebx
call fcn.00438bf6
xor edi, edi
test al, al
je 0x438fe6
mov byte [ebp - 0x66], 1
jmp 0x439005
mov dword [ebx + 0x120], 0x33
jmp 0x438fda
mov dword [ebx + 0x120], 0x32
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x118], eax
mov esi, ebx
call fcn.00439030
jmp 0x439005
mov dword [ebx + 0x120], 0x31
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x118], eax
push edi
push 1
lea esi, [ebp - 0x2c]
call fcn.004095f2
push edi
push 1
lea esi, [ebp - 0x48]
call fcn.004095f2
push 0
push 1
lea esi, [ebp - 0x64]
call fcn.004095f2
mov al, byte [ebp - 0x66]
call fcn.00459cf9
ret