Function at 0x46aa00
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 0x4d171d
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x508108]
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 0x46abfa
mov eax, dword [ecx + 0x24]
add ecx, 0x24
mov dword [ebp - 0x230], ecx
cmp dword [eax - 0xc], 0
jne 0x46aa7a
push 3
push 0x4ec70c
call fcn.00404180
call fcn.004047c0
mov ecx, eax
test ecx, ecx
jne 0x46aa8f
push 0x80004005
call fcn.00404520
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x248], ebx
mov dword [ebp - 4], 0
call fcn.004047c0
mov ecx, eax
test ecx, ecx
jne 0x46aab9
push 0x80004005
call fcn.00404520
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.004a01b0
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 0x46ab12
push 0x104
lea ecx, [ebp - 0x248]
call fcn.00404070
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 0x46ab4c
push 0x400
lea ecx, [ebp - 0x24c]
call fcn.00404070
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.004a9908
add esp, 8
test eax, eax
js 0x46b62a
cmp eax, dword [ebx - 8]
jg 0x46b62a
mov dword [ebx - 0xc], eax
xor ecx, ecx
mov word [ebx + eax*2], cx
push dword [esi - 8]
push esi
call fcn.004a9908
add esp, 8
test eax, eax
js 0x46b62a
cmp eax, dword [esi - 8]
jg 0x46b62a
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
test edi, edi
jne 0x46ac2b
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 0x46abde
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 0x46abfa
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.0048777c
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 0x46b083
mov ecx, dword [0x508dec]
cmp ecx, edi
jne 0x46acbf
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004a01b0
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 [0x508dec], 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.00464ef0
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 0x46ad0f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x239], 0
je 0x46affa
mov edi, dword [0x50e184]
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 0x46afc1
mov ecx, dword [0x50e184]
lea eax, [ebp - 0x270]
push eax
call fcn.004787b0
mov byte [ebp - 4], 2
call fcn.004047c0
mov ecx, eax
test ecx, ecx
jne 0x46ad78
push 0x80004005
call fcn.00404520
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 0x4ee850
push eax
call fcn.00413e80
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 0x46ae2b
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 0x46adee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x270]
call fcn.0045a360
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46ae14
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 0x46abf0
mov eax, dword [ebp - 0x270]
mov ecx, 0x4e8224
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x46ae5c
test dx, dx
je 0x46ae58
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x46ae5c
add eax, 4
add ecx, 4
test dx, dx
jne 0x46ae36
xor eax, eax
jmp 0x46ae61
sbb eax, eax
or eax, 1
test eax, eax
setne al
test al, al
je 0x46ae86
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, 0x4e8224
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x46aeb7
test dx, dx
je 0x46aeb3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x46aeb7
add eax, 4
add ecx, 4
test dx, dx
jne 0x46ae91
xor eax, eax
jmp 0x46aebc
sbb eax, eax
or eax, 1
test eax, eax
setne al
test al, al
je 0x46aee0
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 0x46aefe
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.0045a360
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 0x46b039
mov ecx, dword [ebp - 0x254]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 5
jle 0x46b0b0
push 5
lea eax, [ebp - 0x234]
push eax
call fcn.004175e0
mov dword [ebp - 0x250], 1
mov ecx, str.https
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x46b098
test dx, dx
je 0x46afba
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x46b098
add eax, 4
add ecx, 4
test dx, dx
jne 0x46af90
xor eax, eax
jmp 0x46b09d
mov edi, dword [0x50e184]
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 0x46aff7
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 0x46adf9
push 0xc
lea ecx, [ebp - 0x260]
push ecx
push 0x26
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x46af0d
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46b054
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 0x46b070
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 0x46abfa
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x260], 3
jmp 0x46affa
sbb eax, eax
or eax, 1
test eax, eax
mov dword [ebp - 0x224], 1
sete al
test al, al
jne 0x46b0ba
mov dword [ebp - 0x224], 0
test byte [ebp - 0x250], 1
je 0x46b0e0
mov edx, dword [ebp - 0x234]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46b0e0
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 0x46b16d
mov byte [ebp - 4], al
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46b136
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 0x46b152
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 0x46abfa
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x230]
push eax
lea ecx, [ecx + 0x28]
call fcn.0046a580
mov ecx, dword [ebp - 0x220]
mov byte [ebp - 4], 4
mov eax, dword [ecx + 0x34]
sub eax, dword [ecx + 0x30]
je 0x46b199
mov edx, dword [ecx + 0x30]
jmp 0x46b19b
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 0x46b5af
mov eax, dword [ebp - 0x220]
cmp dword [eax + 0x3c], 0
je 0x46b2ca
call fcn.004047c0
mov ecx, eax
test ecx, ecx
jne 0x46b1ec
push 0x80004005
call fcn.00404520
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 0x46b232
push 0x100
lea ecx, [ebp - 0x234]
call fcn.00404070
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.004a9908
add esp, 8
test eax, eax
js 0x46b62a
cmp eax, dword [edi - 8]
jg 0x46b62a
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
cmp dword [ebp - 0x22c], ecx
je 0x46b591
push edi
call fcn.004b258c
add esp, 4
cmp eax, 0x12d
je 0x46b3c8
cmp eax, 0x12e
je 0x46b3c8
cmp eax, 0x12f
je 0x46b3c8
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 0x46b2ca
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 0x46b2eb
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 0x46b306
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 0x46b322
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
push 4
call fcn.00487270
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.0046b6d0
push 4
call fcn.00487270
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.0046b6d0
push 4
call fcn.00487270
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.0046b6d0
sub esp, 8
mov ecx, esp
push esi
call fcn.0046b640
sub esp, 8
mov ecx, esp
push edi
call fcn.0046b640
sub esp, 8
mov ecx, esp
push ebx
call fcn.0046b640
mov ecx, dword [ebp - 0x244]
call fcn.00469de0
mov eax, dword [ebp - 0x244]
add esp, 0x18
jmp 0x46ac0d
call fcn.004047c0
mov ecx, eax
test ecx, ecx
jne 0x46b3dd
push 0x80004005
call fcn.00404520
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 0x46b424
push 0x400
lea ecx, [ebp - 0x22c]
call fcn.00404070
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.004a9908
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x46b62a
mov eax, dword [ebp - 0x22c]
cmp ecx, dword [eax - 8]
jg 0x46b62a
xor edx, edx
mov dword [eax - 0xc], ecx
mov word [eax + ecx*2], dx
cmp dword [ebp - 0x238], edx
je 0x46b575
cmp dword [eax - 0xc], edx
je 0x46b575
mov ecx, dword [ebp - 0x254]
lea eax, [ebp - 0x22c]
push eax
call fcn.00402000
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.0046aa00
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 0x46b4f4
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 0x46b512
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 0x46b533
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 0x46b54e
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 0x46b56a
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x244]
jmp 0x46ac0d
lea edx, [eax - 0x10]
mov byte [ebp - 4], 5
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46b591
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 0x46b5af
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 0x46b5d0
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 0x46b5eb
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 0x46b607
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 0x46abfa
push 0x80070057
call fcn.00404520
int3