Function at 0x489370
Capabilities:
Initialize winhttp library
Prepare http request
Read http header
Receive http response
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d2171
mov eax, dword fs:[0]
push eax
mov eax, 0x7b60
call fcn.0055b970
mov eax, dword [0x6385e0]
xor eax, ebp
mov dword [ebp - 0x34], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7ab4], ecx
mov eax, dword [ebp - 0x7ab4]
mov ecx, dword [eax + 0x24]
push ecx
lea ecx, [ebp - 0x1890]
call fcn.00488710
mov dword [ebp - 4], 0
mov byte [ebp - 0x1835], 0
mov dword [ebp - 0x2c], str.content_type:_multipart_form_data__boundary__Strider35_r_n
mov dword [ebp - 0x1858], str._r_n____Strider35___r_n
mov dword [ebp - 0x184c], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x186c], 0
mov dword [ebp - 0x183c], 0
mov edx, dword [ebp - 0x7ab4]
mov ecx, dword [edx + 0xc]
call fcn.00435950
push eax
mov eax, dword [ebp - 0x7ab4]
mov ecx, dword [eax + 4]
call fcn.0041e330
mov dword [ebp - 0x1850], eax
cmp dword [ebp - 0x1850], 0
jne 0x489465
push 0
push 1
mov ecx, dword [ebp - 0x7ab4]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov dword [ebp - 0x79ac], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1890]
call fcn.00488770
mov eax, dword [ebp - 0x79ac]
jmp 0x48aa3b
mov dword [ebp - 0x1840], 0
mov eax, dword [ebp - 0x7ab4]
mov ecx, dword [eax + 0xc]
call fcn.004b7130
mov dword [ebp - 0x1848], eax
mov ecx, dword [ebp - 0x7ab4]
mov ecx, dword [ecx + 0xc]
call fcn.004080d0
fstp dword [ebp - 0x24]
mov edx, dword [ebp - 0x7ab4]
movzx eax, byte [edx + 0x1c]
test eax, eax
je 0x489894
cmp dword [ebp - 0x1848], 0x10000
jb 0x489894
mov ecx, dword [ebp - 0x7ab4]
mov ecx, dword [ecx + 0xc]
call fcn.004080d0
fcomp qword [str.333333]
fnstsw ax
test ah, 0x41
jp 0x489894
push 0
mov edx, dword [ebp - 0x7ab4]
mov ecx, dword [edx + 0xc]
call fcn.00435950
push eax
mov eax, dword [ebp - 0x1850]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1850]
mov eax, dword [edx + 0x14]
call eax
mov dword [ebp - 0x1840], eax
cmp dword [ebp - 0x1840], 0
je 0x489894
mov ecx, dword [ebp - 0x1848]
push ecx
call fcn.0054ea24
add esp, 4
mov dword [ebp - 0x38a0], eax
mov dword [ebp - 0x389c], 0
mov byte [ebp - 0x3895], 1
lea edx, [ebp - 0x38a4]
push edx
push 0x2000
lea eax, [ebp - 0x3894]
push eax
mov ecx, dword [ebp - 0x1840]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x1840]
mov eax, dword [edx + 4]
call eax
movzx ecx, al
test ecx, ecx
je 0x4895d6
movzx edx, byte [ebp - 0x3895]
test edx, edx
je 0x48959c
mov byte [ebp - 0x3895], 0
lea eax, [ebp - 0x3894]
mov dword [ebp - 0x38a8], eax
mov ecx, dword [ebp - 0x38a8]
movzx edx, word [ecx]
cmp edx, 0x5253
jne 0x48959c
mov eax, 0x5a4d
mov ecx, dword [ebp - 0x38a8]
mov word [ecx], ax
mov edx, dword [ebp - 0x38a4]
push edx
lea eax, [ebp - 0x3894]
push eax
mov ecx, dword [ebp - 0x38a0]
add ecx, dword [ebp - 0x389c]
push ecx
call fcn.00555c70
add esp, 0xc
mov edx, dword [ebp - 0x389c]
add edx, dword [ebp - 0x38a4]
mov dword [ebp - 0x389c], edx
jmp 0x489532
mov eax, dword [ebp - 0x389c]
cmp eax, dword [ebp - 0x1848]
je 0x489604
mov ecx, dword [ebp - 0x389c]
push ecx
mov edx, dword [ebp - 0x1848]
push edx
push str._tFailed_to_read__u_bytes_from_stream__read__u_bytes__r_n
call fcn.0054d5e0
add esp, 0xc
jmp 0x48983e
mov eax, dword [ebp - 0x7ab4]
mov ecx, dword [eax + 4]
push ecx
push 2
mov edx, dword [ebp - 0x7ab4]
mov ecx, dword [edx + 0xc]
call fcn.004097d0
mov dword [ebp - 0x38ec], 5
push 0x30
push 0
lea eax, [ebp - 0x38e4]
push eax
call fcn.00555bf0
add esp, 0xc
mov ecx, dword [ebp - 0x389c]
add ecx, 9
mov dword [ebp - 0x186c], ecx
mov edx, dword [ebp - 0x186c]
push edx
call fcn.0054ea24
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x38b4], eax
mov ecx, dword [ebp - 0x38b4]
mov edx, dword [ebp - 0x389c]
mov dword [ecx], edx
lea eax, [ebp - 0x38e4]
call fcn.0053de70
mov dword [ebp - 0x38e4], 9
mov dword [ebp - 0x38e0], 0x200000
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [ebp - 0x38e8], eax
mov eax, dword [ebp - 0x38e8]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [ebp - 0x38ac], eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x38e8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0x63ea20
push 0x63ea20
push 0
push 0
lea edx, [ebp - 0x38ec]
push edx
mov eax, dword [ebp - 0x10]
add eax, 4
push eax
lea ecx, [ebp - 0x38e4]
push ecx
mov edx, dword [ebp - 0x389c]
push edx
mov eax, dword [ebp - 0x38a0]
push eax
lea ecx, [ebp - 0x186c]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 9
push edx
call fcn.005413f0
add esp, 0x2c
mov dword [ebp - 0x38b0], eax
mov eax, dword [ebp - 0x38ac]
push eax
mov ecx, dword [ebp - 0x38e8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
cmp dword [ebp - 0x38b0], 0
je 0x489756
mov edx, dword [ebp - 0x38b0]
push edx
push str.Compression_failed__LzmaEncode___failed__returned__d__r_n
call fcn.0054d5e0
add esp, 8
mov eax, dword [ebp - 0x10]
push eax
call fcn.0054eaee
add esp, 4
mov dword [ebp - 0x10], 0
jmp 0x48983e
cmp dword [ebp - 0x186c], 0x1900000
jbe 0x489787
push str.File_still_too_large_after_compression_r_n
call fcn.0054d5e0
add esp, 4
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0054eaee
add esp, 4
mov dword [ebp - 0x10], 0
jmp 0x48983e
mov edx, dword [ebp - 0x186c]
add edx, 9
mov dword [ebp - 0x1848], edx
mov eax, dword [ebp - 0x1848]
mov dword [ebp - 0x7abc], eax
mov dword [ebp - 0x7ab8], 0
fild qword [ebp - 0x7abc]
fmul qword [0x612b68]
mov ecx, dword [ebp - 0x389c]
mov dword [ebp - 0x7ac4], ecx
mov dword [ebp - 0x7ac0], 0
fild qword [ebp - 0x7ac4]
fdivp st(1)
fsubr qword [0x612b68]
fstp dword [ebp - 0x38f0]
push ecx
fld dword [ebp - 0x38f0]
fstp dword [esp]
mov edx, dword [ebp - 0x7ab4]
mov ecx, dword [edx + 0xc]
call fcn.00408850
mov ecx, eax
call fcn.00488560
mov eax, dword [ebp - 0x7ab4]
mov ecx, dword [eax + 0xc]
call fcn.00435950
mov ecx, eax
call fcn.004553f0
push eax
mov ecx, dword [ebp - 0x1848]
push ecx
mov edx, dword [ebp - 0x389c]
push edx
fld dword [ebp - 0x38f0]
sub esp, 8
fstp qword [esp]
push str.Compressed__3.1f_____u____u_bytes__r_n_t_s_r_n
call fcn.0054eca8
add esp, 0x18
mov eax, dword [ebp - 0x38a0]
push eax
call fcn.0054eaee
add esp, 4
mov ecx, dword [ebp - 0x1840]
mov dword [ebp - 0x79b4], ecx
mov edx, dword [ebp - 0x79b4]
mov dword [ebp - 0x79b0], edx
cmp dword [ebp - 0x79b0], 0
je 0x48988a
push 1
mov eax, dword [ebp - 0x79b0]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x79b0]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x7ac8], eax
jmp 0x489894
mov dword [ebp - 0x7ac8], 0
cmp dword [ebp - 0x10], 0
je 0x4898f8
push 0x10
call fcn.0054d57b
add esp, 4
mov dword [ebp - 0x79bc], eax
cmp dword [ebp - 0x79bc], 0
je 0x4898d1
mov ecx, dword [ebp - 0x1848]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x79bc]
call fcn.004885c0
mov dword [ebp - 0x7acc], eax
jmp 0x4898db
mov dword [ebp - 0x7acc], 0
mov eax, dword [ebp - 0x7acc]
mov dword [ebp - 0x79b8], eax
mov ecx, dword [ebp - 0x79b8]
mov dword [ebp - 0x1840], ecx
jmp 0x489a63
mov edx, dword [ebp - 0x7ab4]
mov ecx, dword [edx + 0xc]
call fcn.004b7130
cmp eax, 0x1900000
jb 0x48994d
push 0
push 1
mov eax, dword [ebp - 0x7ab4]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov dword [ebp - 0x79c0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1890]
call fcn.00488770
mov eax, dword [ebp - 0x79c0]
jmp 0x48aa3b
mov edx, dword [ebp - 0x7ab4]
mov ecx, dword [edx + 0xc]
call fcn.00407f70
movzx eax, al
test eax, eax
je 0x489a39
mov ecx, dword [ebp - 0x7ab4]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 0x7ab4]
mov ecx, dword [eax + 0xc]
mov edx, dword [edx]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x38f4], eax
cmp dword [ebp - 0x38f4], 0
jne 0x4899cb
push 0
push 1
mov ecx, dword [ebp - 0x7ab4]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov dword [ebp - 0x79c4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1890]
call fcn.00488770
mov eax, dword [ebp - 0x79c4]
jmp 0x48aa3b
push 0x10
call fcn.0054d57b
add esp, 4
mov dword [ebp - 0x79cc], eax
cmp dword [ebp - 0x79cc], 0
je 0x489a15
mov eax, dword [ebp - 0x38f4]
mov ecx, dword [eax + 8]
call fcn.004b9730
push eax
mov ecx, dword [ebp - 0x38f4]
mov ecx, dword [ecx + 8]
call fcn.00404b70
push eax
mov ecx, dword [ebp - 0x79cc]
call fcn.004885c0
mov dword [ebp - 0x7ad0], eax
jmp 0x489a1f
mov dword [ebp - 0x7ad0], 0
mov edx, dword [ebp - 0x7ad0]
mov dword [ebp - 0x79c8], edx
mov eax, dword [ebp - 0x79c8]
mov dword [ebp - 0x1840], eax
jmp 0x489a63
push 0
mov ecx, dword [ebp - 0x7ab4]
mov ecx, dword [ecx + 0xc]
call fcn.00435950
push eax
mov edx, dword [ebp - 0x1850]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1850]
mov edx, dword [eax + 0x14]
call edx
mov dword [ebp - 0x1840], eax
mov eax, dword [ebp - 0x7ab4]
mov ecx, dword [eax + 4]
push ecx
push 3
mov edx, dword [ebp - 0x7ab4]
mov ecx, dword [edx + 0xc]
call fcn.004097d0
lea ecx, [ebp - 0x1868]
call fcn.004b34a0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x79ec]
push eax
mov ecx, dword [ebp - 0x7ab4]
mov ecx, dword [ecx + 0xc]
call fcn.004885a0
mov dword [ebp - 0x7ad4], eax
mov ecx, dword [ebp - 0x7ad4]
call fcn.004b2050
mov dword [ebp - 0x7adc], eax
mov dword [ebp - 0x7ad8], edx
mov edx, dword [ebp - 0x7adc]
or edx, dword [ebp - 0x7ad8]
je 0x489ad8
mov dword [ebp - 0x7ae0], 1
jmp 0x489ae2
mov dword [ebp - 0x7ae0], 0
mov al, byte [ebp - 0x7ae0]
mov byte [ebp - 0x79cd], al
lea ecx, [ebp - 0x79ec]
call fcn.00407c30
movzx ecx, byte [ebp - 0x79cd]
test ecx, ecx
je 0x489b7f
lea edx, [ebp - 0x7a04]
push edx
mov eax, dword [ebp - 0x7ab4]
mov ecx, dword [eax + 0xc]
call fcn.004885a0
mov dword [ebp - 0x7ae4], eax
mov ecx, dword [ebp - 0x7ae4]
mov dword [ebp - 0x7ae8], ecx
mov byte [ebp - 4], 2
lea edx, [ebp - 0x3900]
push edx
mov ecx, dword [ebp - 0x7ae8]
call fcn.00411f30
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x7a04]
call fcn.00407c30
lea ecx, [ebp - 0x3900]
call fcn.004553f0
push eax
push str.____Strider35_r_nContent_Disposition:_form_data__name_DateCreated__r_n_r_n_s_r_n
lea eax, [ebp - 0x1868]
push eax
call fcn.004b3ce0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3900]
call fcn.004b3860
mov ecx, dword [ebp - 0x7ab4]
mov ecx, dword [ecx + 4]
call fcn.0042b4e0
mov ecx, eax
call fcn.004553f0
push eax
push str.____Strider35_r_nContent_Disposition:_form_data__name_Guid__r_n_r_n_s_r_n
lea edx, [ebp - 0x1868]
push edx
call fcn.004b3ce0
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x489bbb
mov dword [ebp - 0x7aec], str.x_7z_compressed
jmp 0x489bc5
mov dword [ebp - 0x7aec], str.octet_stream
mov eax, dword [ebp - 0x7aec]
push eax
mov ecx, dword [ebp - 0x7ab4]
mov ecx, dword [ecx + 0xc]
call fcn.00435950
mov ecx, eax
call fcn.004553f0
push eax
push str.____Strider35_r_nContent_Disposition:_form_data__name_Upload___filename__s__r_nContent_Type:_application__s_r_n_r_n
lea edx, [ebp - 0x1868]
push edx
call fcn.004b3ce0
add esp, 0x10
lea ecx, [ebp - 0x1844]
call fcn.004c0b40
mov byte [ebp - 4], 5
push 0x1800
lea eax, [ebp - 0x1834]
push eax
lea ecx, [ebp - 0x1868]
call fcn.00404b70
push eax
push 0
lea ecx, [ebp - 0x1868]
push ecx
lea ecx, [ebp - 0x1844]
call fcn.004c0de0
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov byte [ebp + edx - 0x1834], 0
mov eax, dword [ebp - 0x1858]
mov dword [ebp - 0x7af0], eax
mov ecx, dword [ebp - 0x7af0]
add ecx, 1
mov dword [ebp - 0x7af4], ecx
mov edx, dword [ebp - 0x7af0]
mov al, byte [edx]
mov byte [ebp - 0x7af5], al
add dword [ebp - 0x7af0], 1
cmp byte [ebp - 0x7af5], 0
jne 0x489c5a
mov ecx, dword [ebp - 0x7af0]
sub ecx, dword [ebp - 0x7af4]
mov dword [ebp - 0x7afc], ecx
mov edx, dword [ebp - 0x28]
add edx, dword [ebp - 0x1848]
add edx, dword [ebp - 0x7afc]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x185c], str.Mozilla_4.0__compatible__Win32_
call fcn.004beac0
mov dword [ebp - 0x1854], eax
lea ecx, [ebp - 0x20]
call fcn.004b34a0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x1854], 0
je 0x489d20
mov eax, dword [ebp - 0x7ab4]
mov ecx, dword [eax + 0x10]
push ecx
lea edx, [ebp - 0x7a10]
push edx
mov eax, dword [ebp - 0x1854]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1854]
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 0x7b00], eax
mov ecx, dword [ebp - 0x7b00]
mov dword [ebp - 0x7b04], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x7b04]
push edx
lea ecx, [ebp - 0x20]
call fcn.004b3890
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x7a10]
call fcn.004b3860
jmp 0x489d2e
mov eax, dword [0x63e870]
push eax
lea ecx, [ebp - 0x20]
call fcn.004b38f0
lea ecx, [ebp - 0x20]
push ecx
call fcn.004b4e70
add esp, 4
movzx edx, al
test edx, edx
je 0x489d61
push 0x10000000
push 0
push 0
push 0
mov eax, dword [ebp - 0x185c]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x1874], eax
jmp 0x489d86
push 0x10000000
push 0
lea ecx, [ebp - 0x20]
call fcn.004553f0
push eax
push 3
mov ecx, dword [ebp - 0x185c]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x1874], eax
cmp dword [ebp - 0x1874], 0
jne 0x489d9d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x183c], eax
jmp 0x489dee
push 4
mov edx, dword [ebp - 0x7ab4]
add edx, 0x14
push edx
push 3
mov eax, dword [ebp - 0x1874]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
push 4
mov ecx, dword [ebp - 0x7ab4]
add ecx, 0x18
push ecx
push 5
mov edx, dword [ebp - 0x1874]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
push 4
mov eax, dword [ebp - 0x7ab4]
add eax, 0x18
push eax
push 6
mov ecx, dword [ebp - 0x1874]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
cmp dword [ebp - 0x183c], 0
jne 0x489e80
lea edx, [ebp - 0x7a1c]
push edx
mov eax, dword [ebp - 0x7ab4]
mov ecx, dword [eax + 0x10]
call fcn.004bd030
mov dword [ebp - 0x7b08], eax
push 0
mov ecx, dword [ebp - 0x7ab4]
mov ecx, dword [ecx + 0x10]
call fcn.004bd940
push eax
mov ecx, dword [ebp - 0x7b08]
call fcn.004553f0
push eax
mov edx, dword [ebp - 0x1874]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x1870], eax
lea ecx, [ebp - 0x7a1c]
call fcn.004b3860
cmp dword [ebp - 0x1870], 0
jne 0x489e80
lea ecx, [ebp - 0x1890]
call fcn.004887a0
mov dword [ebp - 0x183c], eax
cmp dword [ebp - 0x183c], 0
jne 0x489e80
mov eax, dword [ebp - 0x188c]
mov dword [ebp - 0x1870], eax
cmp dword [ebp - 0x183c], 0
jne 0x489faf
mov dword [ebp - 0x390c], 0x100
mov ecx, dword [0x63e86c]
push ecx
lea ecx, [ebp - 0x7a38]
call fcn.004b3550
mov byte [ebp - 4], 8
lea edx, [ebp - 0x7a2c]
push edx
mov eax, dword [ebp - 0x7ab4]
mov ecx, dword [eax + 0x10]
call fcn.004bd200
mov dword [ebp - 0x7b0c], eax
lea ecx, [ebp - 0x7a38]
push ecx
mov ecx, dword [ebp - 0x7b0c]
call fcn.004b39e0
mov byte [ebp - 0x7a1d], al
lea ecx, [ebp - 0x7a2c]
call fcn.004b3860
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x7a38]
call fcn.004b3860
movzx edx, byte [ebp - 0x7a1d]
test edx, edx
je 0x489f16
mov eax, dword [ebp - 0x390c]
or eax, 0x800000
mov dword [ebp - 0x390c], eax
mov dword [ebp - 0x3908], 0x607468
mov dword [ebp - 0x3904], 0
lea ecx, [ebp - 0x7a44]
push ecx
mov edx, dword [ebp - 0x7ab4]
mov ecx, dword [edx + 0x10]
call fcn.004bd070
mov dword [ebp - 0x7b10], eax
mov eax, dword [ebp - 0x390c]
push eax
lea ecx, [ebp - 0x3908]
push ecx
push 0
push str.HTTP_1.1
mov ecx, dword [ebp - 0x7b10]
call fcn.004553f0
push eax
push str.POST
mov edx, dword [ebp - 0x1870]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x7a44]
call fcn.004b3860
cmp dword [ebp - 0x30], 0
jne 0x489faf
lea ecx, [ebp - 0x1890]
call fcn.004887a0
mov dword [ebp - 0x183c], eax
cmp dword [ebp - 0x183c], 0
jne 0x489faf
mov eax, dword [ebp - 0x188c]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x183c], 0
jne 0x489fe9
push 0
push 0x7e4c00
push 0x488810
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
mov dword [ebp - 0x3910], eax
cmp dword [ebp - 0x3910], 0xffffffff
jne 0x489fe9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x183c], eax
cmp dword [ebp - 0x183c], 0
jne 0x48a1aa
cmp dword [ebp - 0x1854], 0
je 0x48a1aa
mov edx, dword [ebp - 0x1854]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1854]
mov edx, dword [eax + 0x14]
call edx
mov dword [ebp - 0x3914], eax
cmp dword [ebp - 0x3914], 0
je 0x48a1aa
push 0x5ffc9c
lea ecx, [ebp - 0x7a50]
call fcn.004b3550
mov byte [ebp - 4], 9
lea eax, [ebp - 0x7a50]
push eax
mov ecx, dword [ebp - 0x7ab4]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0x3914]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x3914]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3918], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x7a50]
call fcn.004b3860
cmp dword [ebp - 0x3918], 0
je 0x48a1aa
mov ecx, dword [ebp - 0x3918]
call fcn.00407d80
mov ecx, eax
call fcn.00404b70
test eax, eax
jle 0x48a0f9
mov ecx, dword [ebp - 0x3918]
call fcn.004888c0
push eax
push 0x5fc5a0
mov ecx, dword [ebp - 0x3918]
call fcn.00407d80
push eax
lea ecx, [ebp - 0x3924]
push ecx
call fcn.004b4080
add esp, 0x10
lea ecx, [ebp - 0x3924]
call fcn.00404b70
push eax
lea ecx, [ebp - 0x3924]
call fcn.004553f0
push eax
push 0x1002
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
lea ecx, [ebp - 0x3924]
call fcn.004b3860
jmp 0x48a12e
mov ecx, dword [ebp - 0x3918]
call fcn.004888c0
mov ecx, eax
call fcn.00404b70
push eax
mov ecx, dword [ebp - 0x3918]
call fcn.004888c0
mov ecx, eax
call fcn.004553f0
push eax
push 0x1002
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov ecx, dword [ebp - 0x3918]
call fcn.004bb880
mov ecx, eax
call fcn.00404b70
push eax
mov ecx, dword [ebp - 0x3918]
call fcn.004bb880
mov ecx, eax
call fcn.004553f0
push eax
push 0x1003
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov edx, dword [ebp - 0x3918]
mov dword [ebp - 0x7a58], edx
mov eax, dword [ebp - 0x7a58]
mov dword [ebp - 0x7a54], eax
cmp dword [ebp - 0x7a54], 0
je 0x48a1a0
push 1
mov ecx, dword [ebp - 0x7a54]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x7a54]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x7b14], eax
jmp 0x48a1aa
mov dword [ebp - 0x7b14], 0
cmp dword [ebp - 0x183c], 0x2f00
jne 0x48a1c0
mov dword [ebp - 0x183c], 0
cmp dword [ebp - 0x183c], 0
jne 0x48a289
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x7b18], ecx
mov edx, dword [ebp - 0x7b18]
add edx, 2
mov dword [ebp - 0x7b1c], edx
mov eax, dword [ebp - 0x7b18]
mov cx, word [eax]
mov word [ebp - 0x7b1e], cx
add dword [ebp - 0x7b18], 2
cmp word [ebp - 0x7b1e], 0
jne 0x48a1e5
mov edx, dword [ebp - 0x7b18]
sub edx, dword [ebp - 0x7b1c]
sar edx, 1
mov dword [ebp - 0x7b24], edx
lea eax, [ebp - 0x1890]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x7b24]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [ebp - 0x3928], eax
cmp dword [ebp - 0x3928], 0
je 0x48a260
lea ecx, [ebp - 0x1890]
call fcn.004887a0
mov dword [ebp - 0x7b28], eax
jmp 0x48a26c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x7b28], eax
mov edx, dword [ebp - 0x7b28]
mov dword [ebp - 0x183c], edx
cmp dword [ebp - 0x183c], 0x2f00
jne 0x48a289
jmp 0x48a1aa
cmp dword [ebp - 0x183c], 0
jne 0x48a6f1
mov dword [ebp - 0x392c], 0
mov dword [ebp - 0x3930], 0
push 0
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1834]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
mov dword [ebp - 0x3934], eax
cmp dword [ebp - 0x3934], 0
je 0x48a2e3
lea ecx, [ebp - 0x1890]
call fcn.004887a0
mov dword [ebp - 0x7b2c], eax
jmp 0x48a2ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x7b2c], eax
mov eax, dword [ebp - 0x7b2c]
mov dword [ebp - 0x183c], eax
cmp dword [ebp - 0x183c], 0x2f00
jne 0x48a30c
jmp 0x48a1aa
mov ecx, dword [ebp - 0x1888]
mov dword [ebp - 0x392c], ecx
mov dword [ebp - 0x1888], 0
mov edx, dword [ebp - 0x3930]
add edx, dword [ebp - 0x392c]
mov dword [ebp - 0x3930], edx
cmp dword [ebp - 0x183c], 0
jne 0x48a601
mov eax, dword [ebp - 0x7ab4]
mov ecx, dword [eax + 0xc]
call fcn.00408850
mov dword [ebp - 0x3940], eax
mov dword [ebp - 0x5968], 0
lea ecx, [ebp - 0x5964]
push ecx
call fcn.00411fe0
add esp, 4
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x393c], 0
mov dword [ebp - 0x3938], 0
xor edx, edx
cmp dword [ebp - 0x10], 0
sete dl
mov byte [ebp - 0x5945], dl
lea eax, [ebp - 0x5968]
push eax
push 0x2000
lea ecx, [ebp - 0x5944]
push ecx
mov edx, dword [ebp - 0x1840]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1840]
mov edx, dword [eax + 4]
call edx
movzx eax, al
test eax, eax
je 0x48a5f2
movzx ecx, byte [ebp - 0x5945]
test ecx, ecx
je 0x48a403
mov byte [ebp - 0x5945], 0
lea edx, [ebp - 0x5944]
mov dword [ebp - 0x597c], edx
mov eax, dword [ebp - 0x597c]
movzx ecx, word [eax]
cmp ecx, 0x5253
jne 0x48a403
mov edx, 0x5a4d
mov eax, dword [ebp - 0x597c]
mov word [eax], dx
push 0
mov ecx, dword [ebp - 0x5968]
push ecx
lea edx, [ebp - 0x5944]
push edx
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
mov dword [ebp - 0x5978], eax
cmp dword [ebp - 0x5978], 0
je 0x48a43f
lea ecx, [ebp - 0x1890]
call fcn.004887a0
mov dword [ebp - 0x7b30], eax
jmp 0x48a44b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x7b30], eax
mov ecx, dword [ebp - 0x7b30]
mov dword [ebp - 0x183c], ecx
cmp dword [ebp - 0x183c], 0x2f00
jne 0x48a479
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5964]
call fcn.00407c30
jmp 0x48a1aa
cmp dword [ebp - 0x183c], 0
je 0x48a487
jmp 0x48a5f2
mov edx, dword [ebp - 0x1888]
mov dword [ebp - 0x392c], edx
mov dword [ebp - 0x1888], 0
mov eax, dword [ebp - 0x3930]
add eax, dword [ebp - 0x392c]
mov dword [ebp - 0x3930], eax
mov ecx, dword [ebp - 0x3938]
add ecx, dword [ebp - 0x392c]
mov dword [ebp - 0x3938], ecx
mov edx, dword [ebp - 0x393c]
add edx, dword [ebp - 0x392c]
mov dword [ebp - 0x393c], edx
lea eax, [ebp - 0x7a74]
push eax
call fcn.00411fe0
add esp, 4
mov dword [ebp - 0x7b34], eax
lea ecx, [ebp - 0x5964]
push ecx
lea edx, [ebp - 0x7a84]
push edx
mov ecx, dword [ebp - 0x7b34]
call fcn.00407c50
mov dword [ebp - 0x7b38], eax
mov ecx, dword [ebp - 0x7b38]
call fcn.004113c0
fstp qword [ebp - 0x5974]
lea ecx, [ebp - 0x7a84]
call fcn.00407b80
lea ecx, [ebp - 0x7a74]
call fcn.00407c30
fld1
fcomp qword [ebp - 0x5974]
fnstsw ax
test ah, 0x41
jp 0x48a5a8
fild dword [ebp - 0x393c]
fmul qword [0x612a50]
fdiv qword [ebp - 0x5974]
call fcn.005be6b0
mov dword [ebp - 0x5980], eax
mov eax, dword [ebp - 0x5980]
push eax
mov ecx, dword [ebp - 0x3940]
call fcn.00488580
lea ecx, [ebp - 0x7a9c]
push ecx
call fcn.00411fe0
add esp, 4
mov dword [ebp - 0x7b3c], eax
mov edx, dword [ebp - 0x7b3c]
push edx
lea ecx, [ebp - 0x5964]
call fcn.00411530
lea ecx, [ebp - 0x7a9c]
call fcn.00407c30
mov dword [ebp - 0x393c], 0
fild dword [ebp - 0x3938]
fmul qword [0x612b68]
mov eax, dword [ebp - 0x1848]
mov dword [ebp - 0x7b44], eax
mov dword [ebp - 0x7b40], 0
fild qword [ebp - 0x7b44]
fdivp st(1)
fstp dword [ebp - 0x7b48]
fld dword [ebp - 0x7b48]
push ecx
fstp dword [esp]
mov ecx, dword [ebp - 0x3940]
call fcn.0040fae0
jmp 0x48a395
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5964]
call fcn.00407c30
cmp dword [ebp - 0x183c], 0
jne 0x48a6f1
mov ecx, dword [ebp - 0x1858]
mov dword [ebp - 0x7b4c], ecx
mov edx, dword [ebp - 0x7b4c]
add edx, 1
mov dword [ebp - 0x7b50], edx
mov eax, dword [ebp - 0x7b4c]
mov cl, byte [eax]
mov byte [ebp - 0x7b51], cl
add dword [ebp - 0x7b4c], 1
cmp byte [ebp - 0x7b51], 0
jne 0x48a629
mov edx, dword [ebp - 0x7b4c]
sub edx, dword [ebp - 0x7b50]
mov dword [ebp - 0x7b58], edx
push 0
mov eax, dword [ebp - 0x7b58]
push eax
mov ecx, dword [ebp - 0x1858]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
mov dword [ebp - 0x5984], eax
cmp dword [ebp - 0x5984], 0
je 0x48a695
lea ecx, [ebp - 0x1890]
call fcn.004887a0
mov dword [ebp - 0x7b5c], eax
jmp 0x48a6a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x7b5c], eax
mov eax, dword [ebp - 0x7b5c]
mov dword [ebp - 0x183c], eax
cmp dword [ebp - 0x183c], 0x2f00
jne 0x48a6c0
jmp 0x48a1aa
cmp dword [ebp - 0x183c], 0
jne 0x48a6f1
mov ecx, dword [ebp - 0x1888]
mov dword [ebp - 0x392c], ecx
mov dword [ebp - 0x1888], 0
mov edx, dword [ebp - 0x3930]
add edx, dword [ebp - 0x392c]
mov dword [ebp - 0x3930], edx
movzx eax, byte [ebp - 0x1835]
test eax, eax
jne 0x48a71c
push 0
push 1
mov ecx, dword [ebp - 0x7ab4]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x1835], al
cmp dword [ebp - 0x183c], 0
jne 0x48a77c
push 0
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [ebp - 0x5988], eax
cmp dword [ebp - 0x5988], 0
je 0x48a753
lea ecx, [ebp - 0x1890]
call fcn.004887a0
mov dword [ebp - 0x7b60], eax
jmp 0x48a75f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x7b60], eax
mov ecx, dword [ebp - 0x7b60]
mov dword [ebp - 0x183c], ecx
cmp dword [ebp - 0x183c], 0x2f00
jne 0x48a77c
jmp 0x48a1aa
cmp dword [ebp - 0x183c], 0
jne 0x48a7d4
mov dword [ebp - 0x598c], 4
mov dword [ebp - 0x5990], 0
mov dword [ebp - 0x5994], 0
push 0
lea edx, [ebp - 0x598c]
push edx
lea eax, [ebp - 0x5994]
push eax
push 0
push 0x20000013
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x48a7d4
mov edx, dword [ebp - 0x5994]
mov dword [ebp - 0x184c], edx
cmp dword [ebp - 0x183c], 0
jne 0x48a8ef
lea ecx, [ebp - 0x5998]
call fcn.004c0b40
mov byte [ebp - 4], 0xb
mov eax, 1
test eax, eax
je 0x48a8e0
mov dword [ebp - 0x79a8], 0
push 0
push 0x2000
lea ecx, [ebp - 0x799c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov dword [ebp - 0x79a4], eax
cmp dword [ebp - 0x79a4], 0
je 0x48a841
lea ecx, [ebp - 0x1890]
call fcn.004887a0
mov dword [ebp - 0x7b64], eax
jmp 0x48a84d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x7b64], eax
mov eax, dword [ebp - 0x7b64]
mov dword [ebp - 0x79a0], eax
cmp dword [ebp - 0x79a0], 0
je 0x48a864
jmp 0x48a8e0
mov ecx, dword [ebp - 0x1888]
mov dword [ebp - 0x79a8], ecx
mov dword [ebp - 0x1888], 0
cmp dword [ebp - 0x79a8], 0
jne 0x48a885
jmp 0x48a8e0
mov edx, dword [ebp - 0x79a8]
push edx
push 0
lea eax, [ebp - 0x799c]
push eax
lea ecx, [ebp - 0x7aa8]
push ecx
lea ecx, [ebp - 0x5998]
call fcn.004c0bc0
mov dword [ebp - 0x7b68], eax
mov edx, dword [ebp - 0x7b68]
mov dword [ebp - 0x7b6c], edx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x7b6c]
push eax
mov ecx, dword [ebp + 8]
call fcn.004b3ad0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x7aa8]
call fcn.004b3860
jmp 0x48a7f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5998]
call fcn.004c0b90
cmp dword [ebp - 0x30], 0
je 0x48a911
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
lea ecx, [ebp - 0x1890]
call fcn.004887f0
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x1870], 0
je 0x48a931
mov edx, dword [ebp - 0x1870]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [ebp - 0x1870], 0
cmp dword [ebp - 0x1874], 0
je 0x48a951
mov eax, dword [ebp - 0x1874]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [ebp - 0x1874], 0
cmp dword [ebp - 0x184c], 0
jne 0x48a9af
mov ecx, dword [ebp - 0x183c]
mov dword [ebp - 0x7aac], ecx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.004b3860
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1844]
call fcn.004c0b90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1868]
call fcn.004b3860
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1890]
call fcn.00488770
mov eax, dword [ebp - 0x7aac]
jmp 0x48aa3b
mov edx, dword [ebp - 0x184c]
mov dword [ebp - 0x7ab0], edx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.004b3860
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1844]
call fcn.004c0b90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1868]
call fcn.004b3860
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1890]
call fcn.00488770
mov eax, dword [ebp - 0x7ab0]
jmp 0x48aa3b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.0054d4f5
mov esp, ebp
pop ebp
ret 4