Function at 0x46caf0
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 0x4d55cd
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x50d108]
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 0x46ccea
mov eax, dword [ecx + 0x24]
add ecx, 0x24
mov dword [ebp - 0x230], ecx
cmp dword [eax - 0xc], 0
jne 0x46cb6a
push 3
push 0x4f08d4
call fcn.004042c0
call fcn.00404900
mov ecx, eax
test ecx, ecx
jne 0x46cb7f
push 0x80004005
call fcn.00404660
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x248], ebx
mov dword [ebp - 4], 0
call fcn.00404900
mov ecx, eax
test ecx, ecx
jne 0x46cba9
push 0x80004005
call fcn.00404660
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.004a33a0
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 0x46cc02
push 0x104
lea ecx, [ebp - 0x248]
call fcn.004041b0
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 0x46cc3c
push 0x400
lea ecx, [ebp - 0x24c]
call fcn.004041b0
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.004acb1c
add esp, 8
test eax, eax
js 0x46d71a
cmp eax, dword [ebx - 8]
jg 0x46d71a
mov dword [ebx - 0xc], eax
xor ecx, ecx
mov word [ebx + eax*2], cx
push dword [esi - 8]
push esi
call fcn.004acb1c
add esp, 8
test eax, eax
js 0x46d71a
cmp eax, dword [esi - 8]
jg 0x46d71a
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
test edi, edi
jne 0x46cd1b
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 0x46ccce
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 0x46ccea
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.0048a7e3
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 0x46d173
mov ecx, dword [0x50de0c]
cmp ecx, edi
jne 0x46cdaf
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004a33a0
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 [0x50de0c], 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.00466f20
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 0x46cdff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x239], 0
je 0x46d0ea
mov edi, dword [0x513558]
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 0x46d0b1
mov ecx, dword [0x513558]
lea eax, [ebp - 0x270]
push eax
call fcn.0047a970
mov byte [ebp - 4], 2
call fcn.00404900
mov ecx, eax
test ecx, ecx
jne 0x46ce68
push 0x80004005
call fcn.00404660
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 0x4f2d10
push eax
call fcn.00414020
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 0x46cf1b
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 0x46cede
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x270]
call fcn.0045c250
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46cf04
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 0x46cce0
mov eax, dword [ebp - 0x270]
mov ecx, 0x4ec354
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x46cf4c
test dx, dx
je 0x46cf48
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x46cf4c
add eax, 4
add ecx, 4
test dx, dx
jne 0x46cf26
xor eax, eax
jmp 0x46cf51
sbb eax, eax
or eax, 1
test eax, eax
setne al
test al, al
je 0x46cf76
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, 0x4ec354
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x46cfa7
test dx, dx
je 0x46cfa3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x46cfa7
add eax, 4
add ecx, 4
test dx, dx
jne 0x46cf81
xor eax, eax
jmp 0x46cfac
sbb eax, eax
or eax, 1
test eax, eax
setne al
test al, al
je 0x46cfd0
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 0x46cfee
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.0045c250
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 0x46d129
mov ecx, dword [ebp - 0x254]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 5
jle 0x46d1a0
push 5
lea eax, [ebp - 0x234]
push eax
call fcn.00417780
mov dword [ebp - 0x250], 1
mov ecx, str.https
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x46d188
test dx, dx
je 0x46d0aa
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x46d188
add eax, 4
add ecx, 4
test dx, dx
jne 0x46d080
xor eax, eax
jmp 0x46d18d
mov edi, dword [0x513558]
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 0x46d0e7
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 0x46cee9
push 0xc
lea ecx, [ebp - 0x260]
push ecx
push 0x26
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x46cffd
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46d144
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 0x46d160
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 0x46ccea
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x260], 3
jmp 0x46d0ea
sbb eax, eax
or eax, 1
test eax, eax
mov dword [ebp - 0x224], 1
sete al
test al, al
jne 0x46d1aa
mov dword [ebp - 0x224], 0
test byte [ebp - 0x250], 1
je 0x46d1d0
mov edx, dword [ebp - 0x234]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46d1d0
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 0x46d25d
mov byte [ebp - 4], al
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46d226
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 0x46d242
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 0x46ccea
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x230]
push eax
lea ecx, [ecx + 0x28]
call fcn.0046c670
mov ecx, dword [ebp - 0x220]
mov byte [ebp - 4], 4
mov eax, dword [ecx + 0x34]
sub eax, dword [ecx + 0x30]
je 0x46d289
mov edx, dword [ecx + 0x30]
jmp 0x46d28b
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 0x46d69f
mov eax, dword [ebp - 0x220]
cmp dword [eax + 0x3c], 0
je 0x46d3ba
call fcn.00404900
mov ecx, eax
test ecx, ecx
jne 0x46d2dc
push 0x80004005
call fcn.00404660
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 0x46d322
push 0x100
lea ecx, [ebp - 0x234]
call fcn.004041b0
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.004acb1c
add esp, 8
test eax, eax
js 0x46d71a
cmp eax, dword [edi - 8]
jg 0x46d71a
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
cmp dword [ebp - 0x22c], ecx
je 0x46d681
push edi
call fcn.004b5761
add esp, 4
cmp eax, 0x12d
je 0x46d4b8
cmp eax, 0x12e
je 0x46d4b8
cmp eax, 0x12f
je 0x46d4b8
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 0x46d3ba
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 0x46d3db
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 0x46d3f6
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 0x46d412
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
push 4
call fcn.0048a2e5
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.0046d7c0
push 4
call fcn.0048a2e5
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.0046d7c0
push 4
call fcn.0048a2e5
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.0046d7c0
sub esp, 8
mov ecx, esp
push esi
call fcn.0046d730
sub esp, 8
mov ecx, esp
push edi
call fcn.0046d730
sub esp, 8
mov ecx, esp
push ebx
call fcn.0046d730
mov ecx, dword [ebp - 0x244]
call fcn.0046bed0
mov eax, dword [ebp - 0x244]
add esp, 0x18
jmp 0x46ccfd
call fcn.00404900
mov ecx, eax
test ecx, ecx
jne 0x46d4cd
push 0x80004005
call fcn.00404660
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 0x46d514
push 0x400
lea ecx, [ebp - 0x22c]
call fcn.004041b0
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.004acb1c
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x46d71a
mov eax, dword [ebp - 0x22c]
cmp ecx, dword [eax - 8]
jg 0x46d71a
xor edx, edx
mov dword [eax - 0xc], ecx
mov word [eax + ecx*2], dx
cmp dword [ebp - 0x238], edx
je 0x46d665
cmp dword [eax - 0xc], edx
je 0x46d665
mov ecx, dword [ebp - 0x254]
lea eax, [ebp - 0x22c]
push eax
call fcn.00402130
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.0046caf0
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 0x46d5e4
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 0x46d602
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 0x46d623
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 0x46d63e
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 0x46d65a
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x244]
jmp 0x46ccfd
lea edx, [eax - 0x10]
mov byte [ebp - 4], 5
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46d681
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 0x46d69f
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 0x46d6c0
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 0x46d6db
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 0x46d6f7
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 0x46ccea
push 0x80070057
call fcn.00404660
int3