Function at 0x417270
Capabilities:
Connect to http server
Create http request
Resolve function by parsing pe exports
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x489bac
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push esi
push edi
mov eax, dword [0x504a70]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 0
push 0
push 0
push 0
push str.GPUZ_1.0
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
test edi, edi
mov dword [esp + 0x20], edi
jne 0x41738d
call fcn.0045e8af
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4172e9
push 0x80004005
call fcn.00401440
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0xb0], 0
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call esi
push eax
call esi
push eax
lea ecx, [esp + 0x18]
push str.InternetOpen_failed__error___d__0x_x__n
push ecx
call fcn.00405230
mov edi, dword [esp + 0x20]
add esp, 0x10
push 0
push 0x10
push edi
call fcn.0045dce2
call esi
test eax, eax
jg 0x41733c
call esi
mov esi, eax
jmp 0x41734c
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
lea eax, [edi - 0x10]
mov dword [esp + 0xb0], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x417373
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x419000
push edi
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
mov eax, dword [ebx + 4]
lea esi, [esp + 0x74]
call fcn.00416190
mov eax, dword [eax]
push ebx
push 0
push 3
push 0
push 0
push 0x50
push eax
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4173de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x1c], 0
jne 0x417460
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
call fcn.0045e8af
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x417406
push 0x80004005
call fcn.00401440
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0xb0], 1
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call esi
push eax
call esi
push eax
lea ecx, [esp + 0x18]
push str.InternetConnect_failed__error___d__0x_x__n
push ecx
call fcn.00405230
mov edi, dword [esp + 0x20]
add esp, 0x10
push 0
push 0x10
push edi
call fcn.0045dce2
call esi
test eax, eax
jg 0x41733c
call esi
mov esi, eax
jmp 0x41734c
mov eax, dword [ebx + 4]
lea esi, [esp + 0x78]
call fcn.004161b0
mov eax, dword [eax]
mov ecx, dword [esp + 0x1c]
push ebx
push 0x806cc200
push 0
push 0
push 0
push eax
push str.POST
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
mov dword [esp + 0x10], esi
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4174b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x41753d
mov ecx, dword [esp + 0x1c]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ecx
call esi
push edi
call esi
call fcn.0045e8af
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4174e3
push 0x80004005
call fcn.00401440
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0xb0], 2
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call esi
push eax
call esi
push eax
lea ecx, [esp + 0x18]
push str.HttpOpenRequest_failed__error___d__0x_x__n
push ecx
call fcn.00405230
mov edi, dword [esp + 0x20]
add esp, 0x10
push 0
push 0x10
push edi
call fcn.0045dce2
call esi
test eax, eax
jg 0x41733c
call esi
mov esi, eax
jmp 0x41734c
lea ecx, [esp + 0x18]
push ecx
call fcn.004161f0
mov dword [esp + 0xb0], 3
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov dword [esp + 0x18], esp
push eax
call fcn.00404c60
mov edx, dword [esp + 0x1c]
add eax, 0x10
mov dword [edx], eax
add esp, 4
lea eax, [esp + 0x28]
push eax
call fcn.00416290
push 0x20000000
mov byte [esp + 0xb4], 4
mov ecx, dword [esp + 0x28]
push 0xffffffffffffffff
push ecx
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
jne 0x41767a
mov edx, dword [esp + 0x1c]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edx
call esi
push edi
call esi
lea ecx, [esp + 0x10]
call fcn.00403dd0
mov byte [esp + 0xb0], 5
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call esi
push eax
call esi
push eax
lea eax, [esp + 0x18]
push str.HttpAddRequestHeaders_failed__error___d__0x_x__n
push eax
call fcn.00405230
mov edi, dword [esp + 0x20]
add esp, 0x10
push 0
push 0x10
push edi
call fcn.0045dce2
call esi
test eax, eax
jg 0x4175fa
call esi
mov esi, eax
jmp 0x41760a
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
lea eax, [edi - 0x10]
mov byte [esp + 0xb0], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41762e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 3
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417656
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xb0], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x417367
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov dword [esp + 0x48], esp
push eax
mov dword [esp + 0x20], 0
call fcn.00404c60
mov edx, dword [esp + 0x4c]
add esp, 4
add eax, 0x10
push ebx
mov dword [edx], eax
call fcn.00416d70
xor ecx, ecx
push ebx
push 8
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa0], eax
push ecx
lea eax, [esp + 0x88]
push eax
mov dword [esp + 0x8c], ecx
push esi
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], ecx
mov dword [esp + 0x90], 0x28
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
jne 0x4177ad
mov ecx, dword [esp + 0x1c]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ecx
call esi
push edi
call esi
lea ecx, [esp + 0x20]
call fcn.00403dd0
mov byte [esp + 0xb0], 6
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call esi
push eax
call esi
push eax
lea edx, [esp + 0x28]
push str.HttpSendRequestEx_failed__error___d__0x_x__n
push edx
call fcn.00405230
mov eax, dword [esp + 0x30]
add esp, 0x10
push 0
push 0x10
push eax
call fcn.0045dce2
call esi
test eax, eax
jg 0x41777d
call esi
mov esi, eax
jmp 0x41778d
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
lea ecx, [esp + 0x20]
call fcn.00419210
lea ecx, [esp + 0x24]
call fcn.00419210
lea ecx, [esp + 0x18]
call fcn.00419210
jmp 0x417373
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov byte [esp + 0xb0], 7
mov ecx, dword [ebx + 4]
push ecx
lea eax, [esp + 0x48]
call fcn.00419a10
lea esi, [esp + 0x6c]
lea edi, [esp + 0x44]
call fcn.00419130
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov dword [esp + 0x58], esi
jmp 0x4177f0
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x48], eax
mov dword [esp + 0x40], eax
jbe 0x417803
call fcn.00469f7f
test esi, esi
je 0x41780f
lea edx, [esp + 0x44]
cmp esi, edx
je 0x417814
call fcn.00469f7f
cmp edi, dword [esp + 0x40]
je 0x41798d
test esi, esi
jne 0x417827
call fcn.00469f7f
cmp edi, dword [esi + 8]
jb 0x417831
call fcn.00469f7f
lea esi, [esp + 0x28]
mov eax, edi
call fcn.004161b0
mov byte [esp + 0xb0], 8
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x5c]
cmp edi, dword [eax + 8]
jb 0x417855
call fcn.00469f7f
lea esi, [esp + 0x64]
mov eax, edi
call fcn.00416190
mov byte [esp + 0xb4], 9
mov ebx, dword [eax]
mov eax, dword [esp + 0x1c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
push eax
call fcn.00404c60
mov ecx, dword [esp + 0x1c]
add esp, 4
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.00418830
mov ebx, eax
mov byte [esp + 0xb0], 8
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4178ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 7
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4178e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
jl 0x417903
mov ecx, dword [esp + 0x58]
cmp edi, dword [ecx + 8]
jb 0x4178f4
call fcn.00469f7f
mov ebx, dword [ebp + 8]
mov esi, dword [esp + 0x58]
add edi, 8
jmp 0x4177f0
mov edx, dword [esp + 0x1c]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edx
call esi
mov eax, dword [esp + 0x20]
push eax
call esi
lea esi, [esp + 0x44]
call fcn.00404300
mov byte [esp + 0xb0], 3
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417948
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xb0], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417973
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov byte [esp + 0xb0], 0xa
mov ecx, dword [ebx + 4]
push ecx
lea eax, [esp + 0x34]
call fcn.004199a0
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp edi, eax
mov dword [esp + 0x60], 0
jbe 0x4179cd
call fcn.00469f7f
mov eax, dword [esp + 0x38]
lea esi, [esp + 0x30]
mov dword [esp + 0x58], esi
cmp dword [esp + 0x34], eax
mov dword [esp + 0x28], eax
jbe 0x4179e4
call fcn.00469f7f
test esi, esi
je 0x4179f0
lea edx, [esp + 0x30]
cmp esi, edx
je 0x4179f5
call fcn.00469f7f
cmp edi, dword [esp + 0x28]
je 0x417bc7
test esi, esi
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x64]
push ecx
jne 0x417a12
call fcn.00469f7f
cmp edi, dword [esi + 8]
jb 0x417a1c
call fcn.00469f7f
lea esi, [esp + 0x34]
mov eax, edi
call fcn.004161d0
mov byte [esp + 0xb8], 0xb
mov edx, dword [esp + 0x60]
cmp edi, dword [edx + 8]
mov eax, dword [eax]
push eax
jb 0x417a40
call fcn.00469f7f
lea esi, [esp + 0x70]
mov eax, edi
call fcn.004161b0
mov byte [esp + 0xbc], 0xc
mov ecx, dword [esp + 0x64]
cmp edi, dword [ecx + 8]
mov eax, dword [eax]
mov dword [esp + 0x34], eax
jb 0x417a67
call fcn.00469f7f
lea esi, [esp + 0x4c]
mov eax, edi
call fcn.00416190
mov byte [esp + 0xbc], 0xd
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x28]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x80], esp
mov esi, esp
push eax
call fcn.00404c60
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
add esp, 4
add eax, 0x10
push edx
mov edx, ebx
mov dword [esi], eax
call fcn.00418410
mov esi, eax
mov byte [esp + 0xb0], 0xc
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417ad6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 0xb
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417afe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 0xa
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417b26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jl 0x417b48
mov ecx, dword [esp + 0x58]
cmp edi, dword [ecx + 8]
jb 0x417b38
call fcn.00469f7f
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x58]
add edi, 0xc
jmp 0x4179d5
mov edx, dword [esp + 0x1c]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edx
call edi
mov eax, dword [esp + 0x20]
push eax
call edi
mov eax, dword [esp + 0x34]
xor ebx, ebx
cmp eax, ebx
je 0x417b84
mov ecx, dword [esp + 0x6c]
mov edi, dword [esp + 0x38]
push ecx
call fcn.00405380
mov edx, dword [esp + 0x38]
add esp, 4
push edx
call fcn.00456d4d
add esp, 4
mov eax, dword [esp + 0x48]
cmp eax, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
je 0x417bb6
mov ecx, dword [esp + 0x6c]
mov edi, dword [esp + 0x4c]
push ecx
call fcn.004053f0
mov edx, dword [esp + 0x4c]
add esp, 4
push edx
call fcn.00456d4d
add esp, 4
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
jmp 0x41762e
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x70], esp
mov edi, esp
push eax
call fcn.00404c60
add esp, 4
lea ecx, [esp + 0x58]
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.00416760
mov byte [esp + 0xb0], 0xe
mov eax, dword [esp + 0x54]
mov ecx, dword [eax - 0xc]
mov edi, dword [esp + 0x10]
lea edx, [esp + 0x68]
push edx
push ecx
push eax
push edi
call dword [sym.imp.WININET.dll_InternetWriteFile]
xor esi, esi
cmp eax, esi
jne 0x417dc2
mov eax, dword [esp + 0x1c]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push eax
call edi
mov ecx, dword [esp + 0x20]
push ecx
call edi
call fcn.0045e8af
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x417c46
push 0x80004005
call fcn.00401440
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0xb0], 0xf
mov edi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call edi
push eax
call edi
push eax
lea ecx, [esp + 0x1c]
push str.InternetWriteFile_bodyTrailer_failed__error___d__0x_x__n
push ecx
call fcn.00405230
mov ebx, dword [esp + 0x24]
add esp, 0x10
push esi
push 0x10
push ebx
call fcn.0045dce2
call edi
test eax, eax
jg 0x417c93
call edi
jmp 0x417c9f
call edi
and eax, 0xffff
or eax, 0x80070000
mov dword [esp + 0x14], eax
lea eax, [ebx - 0x10]
mov byte [esp + 0xb0], 0xe
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x417cc7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 0xa
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417cef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
cmp eax, esi
je 0x417d15
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x38]
push ecx
call fcn.00405380
mov edx, dword [esp + 0x38]
add esp, 4
push edx
call fcn.00456d4d
add esp, 4
mov eax, dword [esp + 0x48]
cmp eax, esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
je 0x417d47
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x4c]
push ecx
call fcn.004053f0
mov edx, dword [esp + 0x4c]
add esp, 4
push edx
call fcn.00456d4d
add esp, 4
mov byte [esp + 0xb0], 3
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417d7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xb0], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417da6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push ebx
push esi
push esi
push edi
call dword [sym.imp.WININET.dll_HttpEndRequestW]
cmp eax, esi
jne 0x417f23
mov ecx, dword [esp + 0x1c]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ecx
call edi
mov edx, dword [esp + 0x20]
push edx
call edi
call fcn.0045e8af
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x417e02
push 0x80004005
call fcn.00401440
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0xb0], 0x10
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call esi
push eax
call esi
push eax
lea ecx, [esp + 0x1c]
push str.HttpEndRequest_failed__error___d__0x_x__n
push ecx
call fcn.00405230
add esp, 0x10
call esi
test eax, eax
jg 0x417e44
call esi
mov edi, eax
jmp 0x417e54
call esi
mov edi, eax
and edi, 0xffff
or edi, 0x80070000
mov byte [esp + 0xb0], 0xe
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x417e7c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 0xa
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417ea4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x30]
call fcn.004042c0
lea esi, [esp + 0x44]
call fcn.00404300
mov byte [esp + 0xb0], 3
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417ede
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xb0], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417f09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x6c]
push edx
push 0x20000013
push edi
mov dword [esp + 0x40], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x417f52
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call esi
call esi
jmp 0x417f5a
mov eax, dword [esp + 0x64]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, edi
mov edx, ebx
call fcn.00418040
push ebx
mov ecx, edi
call fcn.004181f0
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
mov edx, dword [esp + 0x1c]
push edx
call esi
mov eax, dword [esp + 0x20]
push eax
call esi
mov byte [esp + 0xb0], 0xa
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417fb4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x30]
call fcn.004042c0
lea esi, [esp + 0x44]
call fcn.00404300
mov byte [esp + 0xb0], 3
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417fee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xb0], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418019
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8