Function at 0x49ff30
Capabilities:
Check if file exists
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fa51d
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x68da90]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x220], ecx
mov eax, dword [ebp + 8]
lea edi, [ecx + 0x20]
mov dword [ebp - 0x244], eax
mov eax, dword [edi]
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x254], edi
cmp dword [eax - 0xc], 0
je 0x4a012a
mov eax, dword [ecx + 0x24]
add ecx, 0x24
mov dword [ebp - 0x230], ecx
cmp dword [eax - 0xc], 0
jne 0x49ffaa
push 3
push 0x659bf0
call fcn.00403f20
call fcn.004039e0
mov ecx, eax
test ecx, ecx
jne 0x49ffbf
push 0x80004005
call fcn.00404200
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x248], ebx
mov dword [ebp - 4], 0
call fcn.004039e0
mov ecx, eax
test ecx, ecx
jne 0x49ffe9
push 0x80004005
call fcn.00404200
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x24c], esi
push 0x3c
lea eax, [ebp - 0x2bc]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.005c1b40
mov dword [ebp - 0x2bc], 0x3c
mov ecx, 1
mov eax, dword [ebx - 8]
add esp, 0xc
sub ecx, dword [ebx - 4]
sub eax, 0x104
or eax, ecx
jge 0x4a0042
push 0x104
lea ecx, [ebp - 0x248]
call fcn.00403e10
mov ebx, dword [ebp - 0x248]
mov dword [ebp - 0x2ac], ebx
mov ecx, 1
mov dword [ebp - 0x2a8], 0x104
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x400
or eax, ecx
jge 0x4a007c
push 0x400
lea ecx, [ebp - 0x24c]
call fcn.00403e10
mov esi, dword [ebp - 0x24c]
lea eax, [ebp - 0x2bc]
mov dword [ebp - 0x290], esi
push eax
push 0
push 0
push dword [edi]
mov dword [ebp - 0x28c], 0x400
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
push dword [ebx - 8]
mov edi, eax
push ebx
call fcn.005cb8e7
add esp, 8
test eax, eax
js 0x4a0b5a
cmp eax, dword [ebx - 8]
jg 0x4a0b5a
mov dword [ebx - 0xc], eax
xor ecx, ecx
mov word [ebx + eax*2], cx
push dword [esi - 8]
push esi
call fcn.005cb8e7
add esp, 8
test eax, eax
js 0x4a0b5a
cmp eax, dword [esi - 8]
jg 0x4a0b5a
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
test edi, edi
jne 0x4a015b
lea edx, [esi - 0x10]
mov byte [ebp - 4], cl
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a010e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add ebx, 0xfffffff0
lock xadd dword [ebx + 0xc], esi
dec esi
test esi, esi
jg 0x4a012a
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x244]
mov dword [eax], 0
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005a8a55
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x220]
xorps xmm0, xmm0
movq qword [ebp - 0x260], xmm0
or edi, 0xffffffff
mov dword [ebp - 0x258], ecx
mov eax, dword [eax + 0x1c]
cmp dword [eax - 0xc], ecx
jne 0x4a05b3
mov ecx, dword [0x68e944]
cmp ecx, edi
jne 0x4a01ef
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.005c1b40
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.full.data
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, eax
neg ecx
sbb ecx, ecx
neg ecx
mov dword [0x68e944], ecx
xor eax, eax
mov edx, str.full.data
cmp ecx, 1
push ecx
setne al
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x260], eax
call fcn.0049d470
add esp, 4
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x234]
test eax, eax
mov eax, edi
sete byte [ebp - 0x239]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a023f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x239], 0
je 0x4a052a
mov edi, dword [0x6acf2c]
mov dword [ebp - 0x228], edi
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x228]
mov edi, dword [edi]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp edi, 2
jne 0x4a04f1
mov ecx, dword [0x6acf2c]
lea eax, [ebp - 0x270]
push eax
call fcn.0049f220
mov byte [ebp - 4], 2
call fcn.004039e0
mov ecx, eax
test ecx, ecx
jne 0x4a02a8
push 0x80004005
call fcn.00404200
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x228], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x228]
push dword [ebp - 0x264]
push dword [ebp - 0x268]
push str.httphttp:___s:_s
push eax
call fcn.00409f70
mov eax, dword [ebp - 0x220]
add esp, 0x10
mov edi, dword [ebp - 0x228]
push 0
push 0
push edi
push 3
push dword [eax + 0x18]
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x240], eax
test eax, eax
jne 0x4a035b
lea edx, [edi - 0x10]
mov byte [ebp - 4], 2
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a031e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x270]
call fcn.00491e40
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4a0344
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add ebx, 0xfffffff0
lock xadd dword [ebx + 0xc], edi
dec edi
test edi, edi
jmp 0x4a0120
mov eax, dword [ebp - 0x270]
mov ecx, 0x658bf4
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4a038c
test dx, dx
je 0x4a0388
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4a038c
add eax, 4
add ecx, 4
test dx, dx
jne 0x4a0366
xor eax, eax
jmp 0x4a0391
sbb eax, eax
or eax, 1
test eax, eax
setne al
test al, al
je 0x4a03b6
mov ecx, dword [ebp - 0x270]
mov eax, dword [ecx - 0xc]
add eax, eax
push eax
push ecx
mov ecx, dword [ebp - 0x240]
push 0x1c
push ecx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, dword [ebp - 0x26c]
mov ecx, 0x658bf4
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4a03e7
test dx, dx
je 0x4a03e3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4a03e7
add eax, 4
add ecx, 4
test dx, dx
jne 0x4a03c1
xor eax, eax
jmp 0x4a03ec
sbb eax, eax
or eax, 1
test eax, eax
setne al
test al, al
je 0x4a0410
mov ecx, dword [ebp - 0x26c]
mov eax, dword [ecx - 0xc]
add eax, eax
push eax
push ecx
push 0x1d
push dword [ebp - 0x240]
call dword [sym.imp.WININET.dll_InternetSetOptionW]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 2
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a042e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 1
call fcn.00491e40
push 8
lea eax, [ebp - 0x280]
mov dword [ebp - 0x280], 1
push eax
push 0x32
push 0
mov dword [ebp - 0x27c], 0
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 1
push 0
push 3
push 0
push 0
push dword [ebp - 0x2a4]
push ebx
push dword [ebp - 0x240]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x228], eax
test eax, eax
je 0x4a0569
mov ecx, dword [ebp - 0x254]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 5
jle 0x4a05e0
push 5
lea eax, [ebp - 0x234]
push eax
call fcn.00447430
mov dword [ebp - 0x250], 1
mov ecx, 0x663150
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4a05c8
test dx, dx
je 0x4a04ea
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4a05c8
add eax, 4
add ecx, 4
test dx, dx
jne 0x4a04c0
xor eax, eax
jmp 0x4a05cd
mov edi, dword [0x6acf2c]
mov dword [ebp - 0x234], edi
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x234]
mov edi, dword [edi]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x4a0527
mov dword [ebp - 0x260], 0
or edi, 0xffffffff
mov eax, dword [ebp - 0x220]
push 0
push 0
push 0
push 0
push dword [eax + 0x18]
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x240], eax
test eax, eax
je 0x4a0329
push 0xc
lea ecx, [ebp - 0x260]
push ecx
push 0x26
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x4a043d
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4a0584
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add ebx, 0xfffffff0
lock xadd dword [ebx + 0xc], edi
dec edi
test edi, edi
jg 0x4a05a0
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x240]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
jmp 0x4a012a
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x260], 3
jmp 0x4a052a
sbb eax, eax
or eax, 1
test eax, eax
mov dword [ebp - 0x224], 1
sete al
test al, al
jne 0x4a05ea
mov dword [ebp - 0x224], 0
test byte [ebp - 0x250], 1
je 0x4a0610
mov edx, dword [ebp - 0x234]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a0610
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x224], 0
mov ecx, 0xc81000
push 1
mov eax, 0x680000
cmovne eax, ecx
push eax
mov eax, dword [ebp - 0x230]
push 0
push 0
push 0
push esi
push dword [eax]
push dword [ebp - 0x228]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x224], eax
test eax, eax
jne 0x4a069d
mov byte [ebp - 4], al
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4a0666
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add ebx, 0xfffffff0
lock xadd dword [ebx + 0xc], edi
dec edi
test edi, edi
jg 0x4a0682
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x228]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x240]
call esi
jmp 0x4a012a
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x230]
push eax
lea ecx, [ecx + 0x28]
call fcn.0049fba0
mov ecx, dword [ebp - 0x220]
mov byte [ebp - 4], 4
mov eax, dword [ecx + 0x34]
sub eax, dword [ecx + 0x30]
je 0x4a06c9
mov edx, dword [ecx + 0x30]
jmp 0x4a06cb
xor edx, edx
mov eax, dword [ebp - 0x220]
mov ecx, dword [ecx + 0x34]
sub ecx, dword [eax + 0x30]
mov eax, dword [ebp - 0x230]
push ecx
push edx
push dword [eax - 0xc]
push eax
push dword [ebp - 0x224]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x4a0adf
mov eax, dword [ebp - 0x220]
cmp dword [eax + 0x3c], 0
je 0x4a07fa
call fcn.004039e0
mov ecx, eax
test ecx, ecx
jne 0x4a071c
push 0x80004005
call fcn.00404200
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x234], edi
mov byte [ebp - 4], 5
mov ecx, 1
mov dword [ebp - 0x274], 0x100
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, 0x100
or eax, ecx
jge 0x4a0762
push 0x100
lea ecx, [ebp - 0x234]
call fcn.00403e10
mov edi, dword [ebp - 0x234]
push 0
lea eax, [ebp - 0x274]
push eax
push edi
push 0x13
push dword [ebp - 0x224]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
push dword [edi - 8]
mov dword [ebp - 0x22c], eax
push edi
call fcn.005cb8e7
add esp, 8
test eax, eax
js 0x4a0b5a
cmp eax, dword [edi - 8]
jg 0x4a0b5a
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
cmp dword [ebp - 0x22c], ecx
je 0x4a0ac1
push edi
call fcn.005d434e
add esp, 4
cmp eax, 0x12d
je 0x4a08f8
cmp eax, 0x12e
je 0x4a08f8
cmp eax, 0x12f
je 0x4a08f8
lea edx, [edi - 0x10]
mov byte [ebp - 4], 4
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a07fa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x230]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a081b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4a0836
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add ebx, 0xfffffff0
lock xadd dword [ebx + 0xc], edi
dec edi
test edi, edi
jg 0x4a0852
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
push 4
call fcn.005a8f62
mov ecx, dword [ebp - 0x240]
add esp, 4
mov ebx, dword [ebp - 0x220]
mov dword [eax], ecx
mov ecx, ebx
push dword [ebp - 0x238]
push eax
call fcn.004a0bc0
push 4
call fcn.005a8f62
mov ecx, dword [ebp - 0x228]
lea edi, [ebx + 8]
add esp, 4
mov dword [eax], ecx
mov ecx, edi
push dword [ebp - 0x238]
push eax
call fcn.004a0bc0
push 4
call fcn.005a8f62
mov ecx, dword [ebp - 0x224]
lea esi, [ebx + 0x10]
add esp, 4
mov dword [eax], ecx
mov ecx, esi
push dword [ebp - 0x238]
push eax
call fcn.004a0bc0
sub esp, 8
mov ecx, esp
push esi
call fcn.0040fac0
sub esp, 8
mov ecx, esp
push edi
call fcn.0040fac0
sub esp, 8
mov ecx, esp
push ebx
call fcn.0040fac0
mov ecx, dword [ebp - 0x244]
call fcn.0049f440
mov eax, dword [ebp - 0x244]
add esp, 0x18
jmp 0x4a013d
call fcn.004039e0
mov ecx, eax
test ecx, ecx
jne 0x4a090d
push 0x80004005
call fcn.00404200
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x22c], eax
mov byte [ebp - 4], 6
mov edx, 1
mov dword [ebp - 0x278], 0x400
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x400
or ecx, edx
jge 0x4a0954
push 0x400
lea ecx, [ebp - 0x22c]
call fcn.00403e10
mov eax, dword [ebp - 0x22c]
push 0
lea ecx, [ebp - 0x278]
push ecx
push eax
push 0x21
push dword [ebp - 0x224]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x22c]
push dword [eax - 8]
push eax
call fcn.005cb8e7
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4a0b5a
mov eax, dword [ebp - 0x22c]
cmp ecx, dword [eax - 8]
jg 0x4a0b5a
xor edx, edx
mov dword [eax - 0xc], ecx
mov word [eax + ecx*2], dx
cmp dword [ebp - 0x238], edx
je 0x4a0aa5
cmp dword [eax - 0xc], edx
je 0x4a0aa5
mov ecx, dword [ebp - 0x254]
lea eax, [ebp - 0x22c]
push eax
call fcn.00403640
push dword [ebp - 0x224]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x228]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x240]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x244]
mov ecx, dword [ebp - 0x220]
call fcn.0049ff30
mov byte [ebp - 4], 5
or eax, 0xffffffff
mov edx, dword [ebp - 0x22c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a0a24
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 4
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a0a42
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x230]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a0a63
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4a0a7e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add ebx, 0xfffffff0
lock xadd dword [ebx + 0xc], edi
dec edi
test edi, edi
jg 0x4a0a9a
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x244]
jmp 0x4a013d
lea edx, [eax - 0x10]
mov byte [ebp - 4], 5
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a0ac1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 4
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a0adf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x230]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a0b00
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4a0b1b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add ebx, 0xfffffff0
lock xadd dword [ebx + 0xc], edi
dec edi
test edi, edi
jg 0x4a0b37
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x224]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x228]
call esi
push dword [ebp - 0x240]
call esi
jmp 0x4a012a
push 0x80070057
call fcn.00404200
int3