Function at 0x43ccdc
Capabilities:
Initialize winhttp library
Prepare http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x500144]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x214], 0
and dword [ebp - 0x218], 0
push ebx
push esi
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x218]
push edi
push eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x21c], edx
mov edx, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x220], 4
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.004f84b0
mov esi, eax
test esi, esi
jns 0x43cd91
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x43d092
test byte [ecx + 0x1c], 8
je 0x43d092
cmp byte [ecx + 0x19], 2
jb 0x43d092
call fcn.0042386b
push esi
push 0x4096d0
push eax
mov eax, dword [section..data]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xa
mov edx, 0x4097fc
pop ecx
call fcn.0042371b
jmp 0x43d092
mov ecx, dword [ebp - 0x210]
call fcn.00497ab8
mov edi, eax
cmp edi, 0xffffffff
je 0x43ce07
mov ecx, dword [ebp - 0x210]
lea edx, [ebp - 0x20c]
push 0x100
call fcn.00497e49
mov esi, eax
test esi, esi
jns 0x43ce6c
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x43d092
test byte [ecx + 0x1c], 8
je 0x43d092
cmp byte [ecx + 0x19], 2
jb 0x43d092
call fcn.0042386b
push esi
push 0x4096fc
push eax
mov eax, dword [section..data]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xb
jmp 0x43cd81
push dword [ebp - 0x210]
mov edx, 0x100
lea ecx, [ebp - 0x20c]
call fcn.0041f6cc
mov esi, eax
test esi, esi
jns 0x43ce67
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x43d092
test byte [ecx + 0x1c], 8
je 0x43d092
cmp byte [ecx + 0x19], 2
jb 0x43d092
call fcn.0042386b
push esi
push 0x409728
push eax
mov eax, dword [section..data]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xc
jmp 0x43cd81
mov edi, 0x1bb
xor esi, esi
push esi
push esi
push esi
push 1
push 0x409740
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ebx, eax
mov dword [ebp - 0x224], ebx
test ebx, ebx
jne 0x43cee7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43cea1
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x43cee5
mov eax, dword [section..data]
cmp eax, section..data
je 0x43d092
test byte [eax + 0x1c], 8
je 0x43d092
cmp byte [eax + 0x19], 2
jb 0x43d092
call fcn.0042386b
push esi
push 0x409760
push eax
mov eax, dword [section..data]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xd
jmp 0x43cd81
xor esi, esi
push esi
push edi
lea eax, [ebp - 0x20c]
push eax
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov ebx, eax
test ebx, ebx
jne 0x43cf65
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43cf14
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x43cf63
mov eax, dword [section..data]
cmp eax, section..data
je 0x43d081
test byte [eax + 0x1c], 8
je 0x43d081
cmp byte [eax + 0x19], 2
jb 0x43d081
call fcn.0042386b
push esi
push 0x409774
push eax
mov eax, dword [section..data]
mov edx, 0x4097fc
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xe
pop ecx
call fcn.0042371b
jmp 0x43d081
xor esi, esi
push 0x800000
push esi
push esi
push esi
push esi
push 0x40978c
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edi, eax
test edi, edi
jne 0x43cfe8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43cf97
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x43cfe6
mov eax, dword [section..data]
cmp eax, section..data
je 0x43d076
test byte [eax + 0x1c], 8
je 0x43d076
cmp byte [eax + 0x19], 2
jb 0x43d076
call fcn.0042386b
push esi
push 0x409794
push eax
mov eax, dword [section..data]
mov edx, 0x4097fc
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xf
pop ecx
call fcn.0042371b
jmp 0x43d076
xor esi, esi
push esi
push esi
push esi
push esi
push esi
push esi
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x214]
push eax
push 0x4e
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryOption]
test eax, eax
jne 0x43d06b
mov dword [ebp - 0x214], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43d02d
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x43d06b
mov eax, dword [section..data]
cmp eax, section..data
je 0x43d06b
test byte [eax + 0x1c], 8
je 0x43d06b
cmp byte [eax + 0x19], 2
jb 0x43d06b
call fcn.0042386b
push esi
push 0x4097b0
push eax
mov eax, dword [section..data]
mov edx, 0x4097fc
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x10
pop ecx
call fcn.0042371b
test edi, edi
je 0x43d076
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test ebx, ebx
je 0x43d081
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x43d092
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov ecx, dword [ebp - 0x218]
test ecx, ecx
je 0x43d0ac
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x5035f0]
call esi
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x214]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004fb5e0
leave
ret 0xc