Function at 0x4c5850
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 0x597fbd
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x5ea110]
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 0x4c5a4a
mov eax, dword [ecx + 0x24]
add ecx, 0x24
mov dword [ebp - 0x230], ecx
cmp dword [eax - 0xc], 0
jne 0x4c58ca
push 3
push 0x5c0fd4
call fcn.00407620
call fcn.00407fd0
mov ecx, eax
test ecx, ecx
jne 0x4c58df
push 0x80004005
call fcn.00407ba0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x248], ebx
mov dword [ebp - 4], 0
call fcn.00407fd0
mov ecx, eax
test ecx, ecx
jne 0x4c5909
push 0x80004005
call fcn.00407ba0
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.00533670
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 0x4c5962
push 0x104
lea ecx, [ebp - 0x248]
call fcn.00407400
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 0x4c599c
push 0x400
lea ecx, [ebp - 0x24c]
call fcn.00407400
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.005506ae
add esp, 8
test eax, eax
js 0x4c647c
cmp eax, dword [ebx - 8]
jg 0x4c647c
mov dword [ebx - 0xc], eax
xor ecx, ecx
mov word [ebx + eax*2], cx
push dword [esi - 8]
push esi
call fcn.005506ae
add esp, 8
test eax, eax
js 0x4c647c
cmp eax, dword [esi - 8]
jg 0x4c647c
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
test edi, edi
jne 0x4c5a7b
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 0x4c5a2e
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 0x4c5a4a
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.0050ed39
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 0x4c5ed5
mov ecx, dword [0x5eae00]
cmp ecx, edi
jne 0x4c5b0f
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00533670
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 [0x5eae00], ecx
xor eax, eax
cmp ecx, 1
push 0
setne al
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x234]
push str.full.data
push eax
call fcn.0049fe80
add esp, 0xc
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 0x4c5b61
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x239], 0
je 0x4c5e4c
mov edi, dword [0x5f1e68]
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 0x4c5e13
mov ecx, dword [0x5f1e68]
lea eax, [ebp - 0x270]
push eax
call fcn.004e4d20
mov byte [ebp - 4], 2
call fcn.00407fd0
mov ecx, eax
test ecx, ecx
jne 0x4c5bca
push 0x80004005
call fcn.00407ba0
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 0x5c3eb0
push eax
call fcn.0041ee80
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 0x4c5c7d
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 0x4c5c40
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x270]
call fcn.004c4500
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4c5c66
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 0x4c5a40
mov eax, dword [ebp - 0x270]
mov ecx, 0x5b9c34
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4c5cae
test dx, dx
je 0x4c5caa
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4c5cae
add eax, 4
add ecx, 4
test dx, dx
jne 0x4c5c88
xor eax, eax
jmp 0x4c5cb3
sbb eax, eax
or eax, 1
test eax, eax
setne al
test al, al
je 0x4c5cd8
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, 0x5b9c34
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4c5d09
test dx, dx
je 0x4c5d05
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4c5d09
add eax, 4
add ecx, 4
test dx, dx
jne 0x4c5ce3
xor eax, eax
jmp 0x4c5d0e
sbb eax, eax
or eax, 1
test eax, eax
setne al
test al, al
je 0x4c5d32
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 0x4c5d50
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.004c4500
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 0x4c5e8b
mov ecx, dword [ebp - 0x254]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 5
jle 0x4c5f02
push 5
lea eax, [ebp - 0x234]
push eax
call fcn.00423ce0
mov dword [ebp - 0x250], 1
mov ecx, str.https
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4c5eea
test dx, dx
je 0x4c5e0c
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4c5eea
add eax, 4
add ecx, 4
test dx, dx
jne 0x4c5de2
xor eax, eax
jmp 0x4c5eef
mov edi, dword [0x5f1e68]
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 0x4c5e49
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 0x4c5c4b
push 0xc
lea ecx, [ebp - 0x260]
push ecx
push 0x26
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x4c5d5f
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4c5ea6
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 0x4c5ec2
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 0x4c5a4a
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x260], 3
jmp 0x4c5e4c
sbb eax, eax
or eax, 1
test eax, eax
mov dword [ebp - 0x224], 1
sete al
test al, al
jne 0x4c5f0c
mov dword [ebp - 0x224], 0
test byte [ebp - 0x250], 1
je 0x4c5f32
mov edx, dword [ebp - 0x234]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c5f32
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 0x4c5fbf
mov byte [ebp - 4], al
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4c5f88
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 0x4c5fa4
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 0x4c5a4a
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x230]
push eax
lea ecx, [ecx + 0x28]
call fcn.004c4e70
mov ecx, dword [ebp - 0x220]
mov byte [ebp - 4], 4
mov eax, dword [ecx + 0x34]
sub eax, dword [ecx + 0x30]
je 0x4c5feb
mov edx, dword [ecx + 0x30]
jmp 0x4c5fed
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 0x4c6401
mov eax, dword [ebp - 0x220]
cmp dword [eax + 0x3c], 0
je 0x4c611c
call fcn.00407fd0
mov ecx, eax
test ecx, ecx
jne 0x4c603e
push 0x80004005
call fcn.00407ba0
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 0x4c6084
push 0x100
lea ecx, [ebp - 0x234]
call fcn.00407400
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.005506ae
add esp, 8
test eax, eax
js 0x4c647c
cmp eax, dword [edi - 8]
jg 0x4c647c
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
cmp dword [ebp - 0x22c], ecx
je 0x4c63e3
push edi
call fcn.0055f3e9
add esp, 4
cmp eax, 0x12d
je 0x4c621a
cmp eax, 0x12e
je 0x4c621a
cmp eax, 0x12f
je 0x4c621a
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 0x4c611c
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 0x4c613d
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 0x4c6158
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 0x4c6174
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
push 4
call fcn.0050e66a
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.004c6d20
push 4
call fcn.0050e66a
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.004c6d20
push 4
call fcn.0050e66a
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.004c6d20
sub esp, 8
mov ecx, esp
push esi
call fcn.004c6990
sub esp, 8
mov ecx, esp
push edi
call fcn.004c6990
sub esp, 8
mov ecx, esp
push ebx
call fcn.004c6990
mov ecx, dword [ebp - 0x244]
call fcn.004c4200
mov eax, dword [ebp - 0x244]
add esp, 0x18
jmp 0x4c5a5d
call fcn.00407fd0
mov ecx, eax
test ecx, ecx
jne 0x4c622f
push 0x80004005
call fcn.00407ba0
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 0x4c6276
push 0x400
lea ecx, [ebp - 0x22c]
call fcn.00407400
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.005506ae
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4c647c
mov eax, dword [ebp - 0x22c]
cmp ecx, dword [eax - 8]
jg 0x4c647c
xor edx, edx
mov dword [eax - 0xc], ecx
mov word [eax + ecx*2], dx
cmp dword [ebp - 0x238], edx
je 0x4c63c7
cmp dword [eax - 0xc], edx
je 0x4c63c7
mov ecx, dword [ebp - 0x254]
lea eax, [ebp - 0x22c]
push eax
call fcn.00402eb0
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.004c5850
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 0x4c6346
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 0x4c6364
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 0x4c6385
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 0x4c63a0
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 0x4c63bc
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x244]
jmp 0x4c5a5d
lea edx, [eax - 0x10]
mov byte [ebp - 4], 5
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c63e3
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 0x4c6401
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 0x4c6422
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 0x4c643d
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 0x4c6459
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 0x4c5a4a
push 0x80070057
call fcn.00407ba0
int3