Function at 0x46cac0
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 0x4d557d
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 0x46ccba
mov eax, dword [ecx + 0x24]
add ecx, 0x24
mov dword [ebp - 0x230], ecx
cmp dword [eax - 0xc], 0
jne 0x46cb3a
push 3
push 0x4f08b4
call fcn.004042c0
call fcn.00404900
mov ecx, eax
test ecx, ecx
jne 0x46cb4f
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 0x46cb79
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.004a32f0
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 0x46cbd2
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 0x46cc0c
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.004aca8c
add esp, 8
test eax, eax
js 0x46d6ea
cmp eax, dword [ebx - 8]
jg 0x46d6ea
mov dword [ebx - 0xc], eax
xor ecx, ecx
mov word [ebx + eax*2], cx
push dword [esi - 8]
push esi
call fcn.004aca8c
add esp, 8
test eax, eax
js 0x46d6ea
cmp eax, dword [esi - 8]
jg 0x46d6ea
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
test edi, edi
jne 0x46cceb
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 0x46cc9e
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 0x46ccba
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.0048a7ae
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 0x46d143
mov ecx, dword [0x50de0c]
cmp ecx, edi
jne 0x46cd7f
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004a32f0
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.00466ef0
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 0x46cdcf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x239], 0
je 0x46d0ba
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 0x46d081
mov ecx, dword [0x513558]
lea eax, [ebp - 0x270]
push eax
call fcn.0047a940
mov byte [ebp - 4], 2
call fcn.00404900
mov ecx, eax
test ecx, ecx
jne 0x46ce38
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 0x4f2cf0
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 0x46ceeb
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 0x46ceae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x270]
call fcn.0045c220
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46ced4
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 0x46ccb0
mov eax, dword [ebp - 0x270]
mov ecx, 0x4ec354
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x46cf1c
test dx, dx
je 0x46cf18
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x46cf1c
add eax, 4
add ecx, 4
test dx, dx
jne 0x46cef6
xor eax, eax
jmp 0x46cf21
sbb eax, eax
or eax, 1
test eax, eax
setne al
test al, al
je 0x46cf46
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 0x46cf77
test dx, dx
je 0x46cf73
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x46cf77
add eax, 4
add ecx, 4
test dx, dx
jne 0x46cf51
xor eax, eax
jmp 0x46cf7c
sbb eax, eax
or eax, 1
test eax, eax
setne al
test al, al
je 0x46cfa0
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 0x46cfbe
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.0045c220
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 0x46d0f9
mov ecx, dword [ebp - 0x254]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 5
jle 0x46d170
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 0x46d158
test dx, dx
je 0x46d07a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x46d158
add eax, 4
add ecx, 4
test dx, dx
jne 0x46d050
xor eax, eax
jmp 0x46d15d
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 0x46d0b7
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 0x46ceb9
push 0xc
lea ecx, [ebp - 0x260]
push ecx
push 0x26
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x46cfcd
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46d114
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 0x46d130
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 0x46ccba
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x260], 3
jmp 0x46d0ba
sbb eax, eax
or eax, 1
test eax, eax
mov dword [ebp - 0x224], 1
sete al
test al, al
jne 0x46d17a
mov dword [ebp - 0x224], 0
test byte [ebp - 0x250], 1
je 0x46d1a0
mov edx, dword [ebp - 0x234]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46d1a0
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 0x46d22d
mov byte [ebp - 4], al
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46d1f6
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 0x46d212
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 0x46ccba
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x230]
push eax
lea ecx, [ecx + 0x28]
call fcn.0046c640
mov ecx, dword [ebp - 0x220]
mov byte [ebp - 4], 4
mov eax, dword [ecx + 0x34]
sub eax, dword [ecx + 0x30]
je 0x46d259
mov edx, dword [ecx + 0x30]
jmp 0x46d25b
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 0x46d66f
mov eax, dword [ebp - 0x220]
cmp dword [eax + 0x3c], 0
je 0x46d38a
call fcn.00404900
mov ecx, eax
test ecx, ecx
jne 0x46d2ac
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 0x46d2f2
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.004aca8c
add esp, 8
test eax, eax
js 0x46d6ea
cmp eax, dword [edi - 8]
jg 0x46d6ea
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
cmp dword [ebp - 0x22c], ecx
je 0x46d651
push edi
call fcn.004b56ec
add esp, 4
cmp eax, 0x12d
je 0x46d488
cmp eax, 0x12e
je 0x46d488
cmp eax, 0x12f
je 0x46d488
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 0x46d38a
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 0x46d3ab
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 0x46d3c6
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 0x46d3e2
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
push 4
call fcn.0048a2db
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.0046d790
push 4
call fcn.0048a2db
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.0046d790
push 4
call fcn.0048a2db
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.0046d790
sub esp, 8
mov ecx, esp
push esi
call fcn.0046d700
sub esp, 8
mov ecx, esp
push edi
call fcn.0046d700
sub esp, 8
mov ecx, esp
push ebx
call fcn.0046d700
mov ecx, dword [ebp - 0x244]
call fcn.0046bea0
mov eax, dword [ebp - 0x244]
add esp, 0x18
jmp 0x46cccd
call fcn.00404900
mov ecx, eax
test ecx, ecx
jne 0x46d49d
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 0x46d4e4
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.004aca8c
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x46d6ea
mov eax, dword [ebp - 0x22c]
cmp ecx, dword [eax - 8]
jg 0x46d6ea
xor edx, edx
mov dword [eax - 0xc], ecx
mov word [eax + ecx*2], dx
cmp dword [ebp - 0x238], edx
je 0x46d635
cmp dword [eax - 0xc], edx
je 0x46d635
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.0046cac0
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 0x46d5b4
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 0x46d5d2
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 0x46d5f3
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 0x46d60e
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 0x46d62a
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x244]
jmp 0x46cccd
lea edx, [eax - 0x10]
mov byte [ebp - 4], 5
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46d651
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 0x46d66f
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 0x46d690
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 0x46d6ab
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 0x46d6c7
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 0x46ccba
push 0x80070057
call fcn.00404660
int3