Function at 0x4346b9
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response
Set http header

Disassembly:
push 0xc4
mov eax, 0x46dfe1
call fcn.0046cef5
mov dword [ebp - 0x18], ecx
xor edx, edx
mov ebx, edx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 4], edx
mov dword [ebp - 0x2c], edx
mov edi, edx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x94], edx
or dword [ebp - 0x80], 0xffffffff
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x60], edx
mov eax, edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x4c], eax
mov esi, edx
mov dword [ebp - 0x50], esi
mov byte [ebp - 4], 0xc
cmp dword [ebp + 8], edx
jne 0x43473c
mov eax, dword [ecx + 0x5c]
push 0x39a
push 0x40f390
mov dword [ebp - 0x1c], 0x80070057
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x28], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x28]
jmp 0x4347b0
cmp dword [ebp + 0xc], 0
jne 0x43476f
mov eax, dword [ecx + 0x5c]
push 0x39b
push 0x40f390
mov dword [ebp - 0x1c], 0x80070057
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x28], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x28]
jmp 0x4347b0
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
test eax, eax
je 0x43486d
test edx, edx
jne 0x434875
mov eax, dword [ecx + 0x5c]
push 0x39d
push 0x40f390
mov dword [ebp - 0x1c], 0x80070057
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
mov edx, 0x80070057
mov ecx, eax
call fcn.00446ed9
mov ecx, dword [ebp - 0x1c]
call fcn.004190b1
test esi, esi
je 0x4347cf
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x4347dd
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x4347eb
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x4347f9
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x434807
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x434815
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x434823
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [ebp - 0x80]
call fcn.004158ee
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x434839
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
je 0x434844
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 0x2c], 0
je 0x434857
push dword [ebp - 0x2c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and dword [ebp - 0x2c], 0
test ebx, ebx
je 0x434862
mov ecx, ebx
call fcn.00418f57
mov eax, dword [ebp - 0x1c]
call fcn.0046cea9
ret 0x18
test edx, edx
jne 0x434785
cmp dword [ebp + 0x18], 0
jne 0x4348ab
mov eax, dword [ecx + 0x5c]
push 0x39e
push 0x40f390
mov dword [ebp - 0x1c], 0x80070057
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x28], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x28]
jmp 0x4347b0
cmp dword [ebp + 0x1c], 0
jne 0x4348e1
mov eax, dword [ecx + 0x5c]
push 0x39f
push 0x40f390
mov dword [ebp - 0x1c], 0x80070057
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x28], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x28]
jmp 0x4347b0
push 0x3c
lea eax, [ebp - 0xd0]
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
or dword [ebp - 0xbc], 0xffffffff
add esp, 0xc
or dword [ebp - 0xa0], 0xffffffff
mov dword [ebp - 0xd0], 0x3c
mov eax, dword [eax]
push ecx
mov eax, dword [eax + 0x18]
mov ecx, eax
mov dword [ebp - 0x28], eax
call dword [0x47547c]
mov ecx, dword [ebp + 8]
call dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x43495f
mov eax, dword [ebp - 0x18]
push 0x3a8
push 0x40f390
mov edx, dword [eax + 0x5c]
mov eax, dword [edx + 4]
mov ecx, eax
mov dword [ebp - 0x28], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
jmp 0x4347b5
lea eax, [ebp - 0xd0]
push eax
push 0
push 0
push dword [ebp - 0x2c]
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
jne 0x4349b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00418df2
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
push 0x3ac
push 0x40f390
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x28], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x28]
jmp 0x434957
xor eax, eax
cmp dword [ebp - 0xc4], 2
sete al
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x5c]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call edi
test eax, eax
je 0x434a1e
cmp dword [ebp - 0x28], 0
mov eax, 0x407098
jne 0x4349ec
mov eax, 0x4070a4
mov ecx, dword [ebp - 0x18]
push eax
movzx eax, word [ebp - 0xb8]
push eax
mov eax, dword [ecx + 0x5c]
push 0x40f3e0
push 2
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call edi
push eax
call fcn.00446f24
add esp, 0x14
push dword [ebp - 0xbc]
push dword [ebp - 0xc0]
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
push eax
lea ecx, [ebp - 0x30]
call fcn.0041482d
mov edi, dword [ebp - 0x30]
test edi, edi
jne 0x434a78
mov ecx, dword [ebp - 0x18]
push 0x3b6
push 0x40f390
mov dword [ebp - 0x1c], 0x8007000e
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x28], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x28]
mov edx, 0x8007000e
jmp 0x4347b5
push dword [ebp - 0xa0]
push dword [ebp - 0xa4]
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0041482d
cmp dword [ebp - 0x3c], 0
jne 0x434ac9
mov ecx, dword [ebp - 0x18]
push 0x3b9
push 0x40f390
mov dword [ebp - 0x1c], 0x8007000e
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x28], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x28]
jmp 0x434a6e
mov eax, dword [ebp - 0x18]
lea ecx, [eax + 0xac]
cmp dword [ecx], 0
mov dword [ebp - 0x1c], ecx
je 0x434bbb
cmp dword [eax + 0xb4], 0
je 0x434bb6
push 0xffffffffffffffff
push dword [eax + 0xb4]
push 0xffffffffffffffff
push edi
push 1
push 0x409
call dword [sym.imp.KERNEL32.dll_CompareStringW]
mov ecx, dword [ebp - 0x18]
dec eax
dec eax
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
je 0x434b6d
mov dword [ebp - 0x20], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
test eax, eax
je 0x434b55
mov ecx, dword [ebp - 0x18]
push 0x40f440
push 1
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
push eax
call fcn.00446f24
add esp, 0xc
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
je 0x434bb0
push dword [eax]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [ebp - 0x1c]
and dword [eax], 0
jmp 0x434bb0
mov dword [ebp - 0x20], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
test eax, eax
je 0x434bb0
mov ecx, dword [ebp - 0x18]
push 0x40f4b0
push 1
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
push eax
call fcn.00446f24
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
cmp dword [ecx], 0
jne 0x434c25
push 0
push 0
push 0
push 1
push 0x40d8b8
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.0041507b
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
jne 0x434c1b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00418df2
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push 0x3d7
push 0x40f390
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
jmp 0x434957
mov eax, dword [ebp - 0x18]
and dword [eax + 0xe0], 0
cmp dword [eax + 0xe0], 0
jne 0x43502f
xor eax, eax
and dword [ebp - 0x20], 0
lea edi, [ebp - 0x5c]
stosd dword es:[edi], eax
push 6
pop ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x90]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x434dc7
cmp dword [ebp - 0x90], 0
mov ecx, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], eax
je 0x434cf3
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
test eax, eax
je 0x434cd9
mov ecx, dword [ebp - 0x18]
push 0x40f528
push 2
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
push eax
call fcn.00446f24
add esp, 0xc
mov ecx, dword [ebp - 0x8c]
xor edx, edx
inc edx
mov dword [ebp - 0x78], 3
mov dword [ebp - 0x7c], edx
mov eax, edx
mov dword [ebp - 0x68], edx
jmp 0x434cf6
mov eax, dword [ebp - 0x20]
test ecx, ecx
je 0x434d5c
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
test eax, eax
je 0x434d48
mov ecx, dword [ebp - 0x18]
push 0x40f588
push 2
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
push eax
call fcn.00446f24
add esp, 0xc
mov eax, dword [ebp - 0x40]
or dword [ebp - 0x7c], 2
mov dword [ebp - 0x74], eax
xor eax, eax
mov dword [ebp - 0x68], 1
inc eax
test eax, eax
jne 0x434e27
test edi, edi
jne 0x434e27
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
test eax, eax
je 0x434dba
mov ecx, dword [ebp - 0x18]
push 0x40f5f0
push 2
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
push eax
call fcn.00446f24
add esp, 0xc
xor edx, edx
inc edx
mov dword [ebp - 0x7c], edx
mov eax, edx
mov dword [ebp - 0x68], edx
jmp 0x434e20
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x5c]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call edi
test eax, eax
je 0x434e14
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x18]
push eax
push 0x40f648
push 3
mov eax, dword [ecx + 0x5c]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call edi
push eax
call fcn.00446f24
add esp, 0x10
mov edi, dword [ebp - 0x44]
xor eax, eax
inc eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x78], 3
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0xe0], 0
jne 0x435022
test eax, eax
je 0x434f77
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
test eax, eax
je 0x434e8a
mov ecx, dword [ebp - 0x18]
push 0x40f6d0
push 2
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
push eax
call fcn.00446f24
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x2c]
push dword [eax + 0xb0]
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x434f1f
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x5c]
push 0xc
push eax
mov eax, dword [ebp - 0x1c]
push 0x26
push dword [eax]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x434f10
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00418df2
push 0x437
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push 0x40f390
mov eax, dword [ecx + 0x5c]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call edi
mov edx, dword [ebp - 0x1c]
mov ecx, eax
call fcn.00446ed9
mov edi, dword [ebp - 0x30]
jmp 0x4347bc
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0xe0], 1
jmp 0x434f77
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
test eax, eax
je 0x434f74
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x18]
push eax
push 0x40f728
push 3
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
push eax
call fcn.00446f24
add esp, 0x10
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0xe0], 0
jne 0x435022
test edi, edi
je 0x435022
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
test eax, eax
je 0x434fd7
mov ecx, dword [ebp - 0x18]
push 0x40f7b8
push 2
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
push eax
call fcn.00446f24
add esp, 0xc
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x5c]
push 0xc
push eax
mov eax, dword [ebp - 0x1c]
push 0x26
mov dword [ebp - 0x5c], 3
mov dword [ebp - 0x58], edi
push dword [eax]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x435015
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00418df2
push 0x451
jmp 0x434edd
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0xe0], 1
mov edi, dword [ebp - 0x30]
mov dword [ecx + 0xe0], 1
mov eax, dword [ebp - 0x1c]
push 0
push dword [ebp - 0xb8]
push edi
push dword [eax]
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0041507b
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x435092
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00418df2
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push 0x463
push 0x40f390
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
jmp 0x434957
mov ecx, dword [ebp - 0x28]
neg ecx
sbb ecx, ecx
and ecx, 0x800000
push ecx
xor ecx, ecx
push ecx
push ecx
push ecx
push dword [ebp - 0x3c]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
push eax
lea ecx, [ebp - 0x50]
call fcn.0041507b
mov esi, dword [ebp - 0x50]
test esi, esi
jne 0x4350fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00418df2
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push 0x46e
push 0x40f390
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
jmp 0x434957
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4352c4
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x435203
push dword [eax + 4]
push dword [eax]
push dword [ecx + 4]
push dword [ecx]
lea ecx, [ebp - 0x24]
call fcn.00448e93
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x435159
mov ecx, dword [ebp - 0x18]
push 0x474
push 0x40f390
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
jmp 0x434957
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
or eax, dword [edx + 4]
je 0x4351a8
push 0
push 1
push dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
push dword [ebp - 0x24]
call fcn.00448f15
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4351a8
mov ecx, dword [ebp - 0x18]
push 0x477
push 0x40f390
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
jmp 0x434957
push dword [ebp - 0x20]
mov eax, dword [ebp + 0x10]
push dword [ebp - 0x24]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x34]
push 0x40f818
push eax
call fcn.00414b49
add esp, 0x18
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x435227
push 0x47b
mov ecx, dword [ebp - 0x18]
push 0x40f390
mov eax, dword [ecx + 0x5c]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call ebx
mov edx, dword [ebp - 0x1c]
mov ecx, eax
call fcn.00446ed9
mov ebx, dword [ebp - 0x34]
jmp 0x4347bc
push dword [ecx + 4]
lea eax, [ebp - 0x34]
push dword [ecx]
push 0x40f84c
push eax
call fcn.00414b49
add esp, 0x10
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x435227
push 0x480
jmp 0x4351d3
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x5c]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call ebx
mov ebx, dword [ebp - 0x34]
test eax, eax
je 0x435275
mov ecx, dword [ebp - 0x18]
push ebx
push 0x40f878
push 2
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
push eax
call fcn.00446f24
add esp, 0x10
push 0xa0000000
push 0xffffffffffffffff
push ebx
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x4352c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00418df2
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push 0x488
push 0x40f390
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
jmp 0x434957
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x435313
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00418df2
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push 0x493
push 0x40f390
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
jmp 0x434957
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x43535c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00418df2
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push 0x498
push 0x40f390
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
jmp 0x434957
mov ecx, dword [ebp - 0x18]
push esi
call fcn.004343fa
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x435398
mov ecx, dword [ebp - 0x18]
push 0x49c
push 0x40f390
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
jmp 0x434957
mov eax, dword [ebp - 0x18]
add eax, 0xb4
mov dword [ebp - 0x20], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x4353b4
call fcn.00418f57
mov eax, dword [ebp - 0x20]
and dword [eax], 0
mov edx, eax
mov ecx, edi
call fcn.00418e2d
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4353f0
mov ecx, dword [ebp - 0x18]
push 0x4a1
push 0x40f390
mov eax, dword [ecx + 0x5c]
mov eax, dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0x20], eax
call dword [0x47547c]
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + 0x5c]
call dword [ebp - 0x20]
jmp 0x434957
mov ecx, dword [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov eax, esi
mov ecx, dword [ebp + 0x1c]
xor esi, esi
mov dword [ecx], eax
jmp 0x4347bc