Function at 0x434358
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
mov eax, 0x46b154
call fcn.00468300
sub esp, 0x3e8
push ebx
xor ebx, ebx
mov dword [ebp - 0x28], 0xf
push esi
push edi
mov dword [ebp - 0x3c], ebx
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x3c], bl
mov eax, dword [ebp + 8]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], ebx
cmp dword [eax + 0x14], 0x10
jb 0x434398
mov eax, dword [eax]
mov dword [ebp + 8], eax
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x20], eax
jb 0x4343ae
mov edi, dword [edi]
lea eax, [ebp - 0x3f4]
push eax
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0xd8]
push eax
push str._99_:_:___99____99__n_
push edi
call fcn.00433b23
add esp, 0x14
mov dword [ebp - 0x14], 0x3b3b274f
mov cl, 0x4f
mov word [ebp - 0x10], 0x3c3f
mov byte [ebp - 0xe], bl
mov edx, ebx
xor byte [ebp + edx - 0x13], cl
inc edx
cmp edx, 5
jae 0x4343f4
mov cl, byte [ebp - 0x14]
jmp 0x4343e5
lea eax, [ebp - 0x13]
mov byte [ebp - 0xe], bl
push eax
lea eax, [ebp - 0xd8]
push eax
call fcn.00445640
mov edi, dword [ebp - 0x20]
xor edx, edx
pop ecx
inc edx
test eax, eax
pop ecx
movzx ecx, bl
cmove ecx, edx
mov dword [ebp - 0x14], ecx
test edi, edi
je 0x434734
lea eax, [ebp - 0x200]
push eax
test cl, cl
je 0x434482
mov dword [ebp - 0x54], ebx
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], bl
call fcn.00413e6c
lea edx, [ebp - 0x54]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf0]
call fcn.00438eb9
cmp dword [eax + 0x14], 8
jb 0x43445f
mov eax, dword [eax]
push ebx
push 0x1bb
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov edi, eax
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x1c], edi
call fcn.00413c2d
lea ecx, [ebp - 0x54]
jmp 0x4344d2
mov dword [ebp - 0x6c], ebx
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], bl
call fcn.00413e6c
lea edx, [ebp - 0x6c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x108]
call fcn.00438eb9
cmp dword [eax + 0x14], 8
jb 0x4344b4
mov eax, dword [eax]
push ebx
push 0x50
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x1c], eax
mov edi, eax
call fcn.00413c2d
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], bl
call fcn.00413e0b
test edi, edi
je 0x43472a
cmp byte [ebp - 0x14], 0
lea eax, [ebp - 0x3f4]
push eax
je 0x43455b
mov dword [ebp - 0x84], ebx
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], bl
call fcn.00413e6c
lea edx, [ebp - 0x84]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x120]
call fcn.00438eb9
cmp dword [eax + 0x14], 8
jb 0x43452d
mov eax, dword [eax]
cmp dword [esi + 0x14], 8
jb 0x434535
mov esi, dword [esi]
push 0x800100
push ebx
push ebx
push ebx
push eax
push esi
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
lea ecx, [ebp - 0x120]
mov edi, eax
call fcn.00413c2d
lea ecx, [ebp - 0x84]
jmp 0x4345cb
mov dword [ebp - 0x9c], ebx
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], bl
call fcn.00413e6c
lea edx, [ebp - 0x9c]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x138]
call fcn.00438eb9
cmp dword [eax + 0x14], 8
jb 0x43459f
mov eax, dword [eax]
cmp dword [esi + 0x14], 8
jb 0x4345a7
mov esi, dword [esi]
push 0x100
push ebx
push ebx
push ebx
push eax
push esi
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
lea ecx, [ebp - 0x138]
mov edi, eax
call fcn.00413c2d
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], bl
call fcn.00413e0b
mov eax, 0x7530
push eax
push eax
mov eax, 0xbb8
push eax
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test edi, edi
je 0x434720
push dword [ebp + 8]
call fcn.0044c110
push dword [ebp + 8]
mov esi, eax
call fcn.0044c110
pop ecx
pop ecx
push ebx
push esi
push eax
push dword [ebp + 8]
push 0xffffffffffffffff
push str.Content_Type:_text_plain__charsetUTF_8_r_n
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x434718
push ebx
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x434718
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov eax, dword [ebp - 0x18]
inc eax
push eax
call fcn.00440b3f
mov esi, eax
mov eax, dword [ebp - 0x18]
inc eax
push eax
push ebx
push esi
call fcn.00442300
add esp, 0x10
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x18]
push esi
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x434705
mov dword [ebp - 0xb4], ebx
lea ecx, [ebp - 0xb4]
push esi
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa0], 0xf
mov byte [ebp - 0xb4], bl
call fcn.00413e6c
mov byte [ebp - 4], 5
lea eax, [ebp - 0x3c]
cmp dword [ebp - 0x28], 0x10
push dword [ebp - 0x2c]
cmovae eax, dword [ebp - 0x3c]
push eax
push ecx
lea ecx, [ebp - 0xb4]
call fcn.0041b165
push eax
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb8], ebx
call fcn.00413f58
lea ecx, [ebp - 0x3c]
call fcn.00413e0b
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00413f58
lea ecx, [ebp - 0xcc]
call fcn.00413e0b
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], bl
call fcn.00413e0b
push esi
call fcn.0044087f
cmp dword [ebp - 0x18], 0
pop ecx
ja 0x434630
jmp 0x434720
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov edi, dword [ebp - 0x1c]
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov edi, dword [ebp - 0x20]
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x3c]
push eax
call fcn.004133a2
lea ecx, [ebp - 0x3c]
call fcn.00413e0b
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret