Function at 0x40347c
Capabilities:
Link many functions at runtime
Receive http response

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov ecx, dword [ebp + 8]
call fcn.0042a330
test al, al
jne 0x4034ad
mov eax, dword [ebp + 0xc]
mov ecx, eax
call fcn.0042a330
test al, al
jne 0x4034ad
mov eax, dword [ebp + 0x10]
mov ecx, eax
call fcn.0042a330
test al, al
je 0x4034b4
mov eax, 1
jmp 0x4034b9
mov eax, 0
test al, al
je 0x4034c7
mov eax, 0
jmp 0x40397d
mov dword [esp], str.Winhttp.dll
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call eax
sub esp, 4
mov dword [ebp - 0x18], eax
mov dword [esp + 4], str.WinHttpOpen
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
mov dword [ebp - 0x1c], eax
mov dword [esp + 4], str.WinHttpConnect
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
mov dword [ebp - 0x20], eax
mov dword [esp + 4], str.WinHttpOpenRequest
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
mov dword [ebp - 0x24], eax
mov dword [esp + 4], str.WinHttpQueryDataAvailable
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
mov dword [ebp - 0x28], eax
mov dword [esp + 4], str.WinHttpReadData
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
mov dword [ebp - 0x2c], eax
mov dword [esp + 4], str.WinHttpSendRequest
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
mov dword [ebp - 0x30], eax
mov dword [esp], str.Kernel32.dll
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call eax
sub esp, 4
mov dword [ebp - 0x34], eax
mov dword [esp + 4], str.WriteFile
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], str.Client_3.2
mov eax, dword [ebp - 0x1c]
call eax
sub esp, 0x14
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x403861
mov ecx, dword [ebp + 8]
call fcn.0042a310
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x50
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
mov eax, dword [ebp - 0x20]
call eax
sub esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x403861
mov eax, dword [0x4aa6f8]
mov edx, dword [0x4aa6fc]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
mov word [ebp - 0x60], 0x54
mov word [ebp - 0x64], 0x47
mov word [ebp - 0x62], 0x45
mov eax, dword [ebp + 0xc]
mov ecx, eax
call fcn.0042a310
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
lea eax, [ebp - 0x64]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [ebp - 0x24]
call eax
sub esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x403861
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
call eax
sub esp, 0x1c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x403861
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.WINHTTP.dll_WinHttpReceiveResponse
sub esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x403861
mov eax, dword [ebp + 0x10]
mov ecx, eax
call fcn.0042a310
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0xc0000000
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CreateFileW]
call eax
sub esp, 0x1c
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x58], 0
lea eax, [ebp - 0x58]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov eax, dword [ebp - 0x28]
call eax
sub esp, 8
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x58]
add eax, 1
mov dword [esp], eax
call fcn.004a43a0
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x4037bd
mov dword [ebp - 0x58], 0
jmp 0x403845
mov eax, dword [ebp - 0x58]
add eax, 1
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call fcn.0041b870
sub esp, 8
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x5c]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov eax, dword [ebp - 0x2c]
call eax
sub esp, 0x10
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x403834
mov eax, dword [ebp - 0x58]
mov dword [esp + 0x10], 0
lea edx, [ebp - 0x68]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
call eax
sub esp, 0x14
test eax, eax
setne al
mov byte [ebp - 0x51], al
cmp dword [ebp - 0x4c], 0
je 0x403845
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call fcn.004a4380
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x403851
jmp 0x40377b
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
cmp dword [ebp - 0xc], 0
jne 0x403871
mov eax, 0
jmp 0x40397d
cmp dword [ebp - 0x14], 0
je 0x4038be
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
call eax
sub esp, 0xc
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.WINHTTP.dll_WinHttpCloseHandle
sub esp, 4
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
cmp dword [ebp - 0x10], 0
je 0x40390b
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
call eax
sub esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sub.WINHTTP.dll_WinHttpCloseHandle
sub esp, 4
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
cmp dword [ebp - 0x40], 0
je 0x403958
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
call eax
sub esp, 0xc
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call sub.WINHTTP.dll_WinHttpCloseHandle
sub esp, 4
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FreeLibrary]
call eax
sub esp, 4
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FreeLibrary]
call eax
sub esp, 4
mov eax, 1
leave
ret