Function at 0x4023fe
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1894
call fcn.0040af80
mov eax, dword [0x41d340]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push str.FunshionInstall.exe.Bk
lea ecx, [ebp - 0x187c]
mov dword [ebp - 0x1884], ebx
call fcn.0040239c
push str.filename
lea ecx, [ebp - 0x1888]
call fcn.0040239c
push 0x418424
lea ecx, [ebp - 0x1874]
call fcn.0040239c
and dword [ebp - 0x188c], 0
push 0x186b
lea eax, [ebp - 0x186f]
push 0
push eax
mov byte [ebp - 0x1870], 0
call fcn.0040afb0
and dword [ebp - 0x1894], 0
add esp, 0xc
lea eax, [ebp - 0x1894]
push eax
lea eax, [ebp - 0x1890]
push eax
lea eax, [ebp - 0x188c]
push eax
push 0x20000013
push ebx
mov ebx, dword [sym.imp.WININET.dll_HttpQueryInfoA]
mov dword [ebp - 0x1890], 8
call ebx
test eax, eax
je 0x40272a
cmp dword [ebp - 0x188c], 0xc8
je 0x4024d2
cmp dword [ebp - 0x188c], 0x12e
jne 0x40272a
push 0
lea eax, [ebp - 0x1890]
push eax
lea eax, [ebp - 0x1870]
push eax
push 0x2f
push dword [ebp - 0x1884]
mov dword [ebp - 0x1890], 0x186c
call ebx
test eax, eax
jne 0x402631
push 0x418424
lea ecx, [ebp - 0x1880]
call fcn.0040239c
cmp dword [edi + 0x14], 8
jb 0x402518
mov eax, dword [edi]
jmp 0x40251a
mov eax, edi
push eax
lea ecx, [ebp - 0x1884]
call fcn.0040239c
push 0
push 0x418404
lea ecx, [ebp - 0x1884]
call fcn.00401849
cmp eax, 0xffffffff
je 0x402606
mov ebx, dword [ebp - 0x1884]
mov ecx, dword [ebx - 0xc]
sub ecx, eax
push ecx
lea eax, [ebp - 0x1878]
push eax
lea ecx, [ebp - 0x1884]
call fcn.00401ad1
push eax
lea ecx, [ebp - 0x1880]
call fcn.0040210e
mov ecx, dword [ebp - 0x1878]
add ecx, 0xfffffff0
call fcn.00401442
mov eax, 0x418400
push eax
push eax
lea ecx, [ebp - 0x1880]
call fcn.004020a6
mov ecx, eax
call fcn.00401d97
mov ecx, dword [edi + 0x5c]
lea eax, [ebp - 0x1880]
push eax
call fcn.0040210e
push 0x4183f8
lea eax, [ebp - 0x1880]
push eax
lea eax, [ebp - 0x1878]
push eax
call fcn.00401fed
add esp, 0xc
push eax
lea ecx, [ebp - 0x187c]
call fcn.0040210e
mov ecx, dword [ebp - 0x1878]
add ecx, 0xfffffff0
call fcn.00401442
mov edi, dword [ebp - 0x187c]
add edi, 0xfffffff0
push edi
call fcn.0040170a
pop ecx
add eax, 0x10
lea ecx, [ebx - 0x10]
mov dword [esi], eax
call fcn.00401442
mov ecx, dword [ebp - 0x1880]
add ecx, 0xfffffff0
call fcn.00401442
jmp 0x40273f
mov ecx, dword [edi + 0x5c]
push str.FunshionInstall.exe
call fcn.00401d47
mov edi, dword [ebp - 0x187c]
add edi, 0xfffffff0
push edi
call fcn.0040170a
pop ecx
mov ecx, dword [ebp - 0x1884]
add eax, 0x10
add ecx, 0xfffffff0
jmp 0x4025ec
lea eax, [ebp - 0x1870]
push eax
lea ecx, [ebp - 0x1878]
call fcn.00402289
push eax
lea ecx, [ebp - 0x1874]
call fcn.0040210e
mov ecx, dword [ebp - 0x1878]
add ecx, 0xfffffff0
call fcn.00401442
mov ebx, dword [ebp - 0x1888]
push 0
push ebx
lea ecx, [ebp - 0x1874]
call fcn.00401849
cmp eax, 0xffffffff
je 0x4026f5
mov ecx, dword [ebp - 0x1874]
mov ecx, dword [ecx - 0xc]
sub ecx, dword [ebx - 0xc]
sub ecx, eax
push ecx
lea eax, [ebp - 0x1878]
push eax
lea ecx, [ebp - 0x1874]
call fcn.00401ad1
push eax
lea ecx, [ebp - 0x1874]
call fcn.0040210e
mov ecx, dword [ebp - 0x1878]
add ecx, 0xfffffff0
call fcn.00401442
mov eax, 0x418400
push eax
push eax
lea ecx, [ebp - 0x1874]
call fcn.004020a6
mov ecx, eax
call fcn.00401d97
mov ecx, dword [edi + 0x5c]
lea eax, [ebp - 0x1874]
push eax
call fcn.0040210e
push dword [ebp - 0x1874]
lea eax, [ebp - 0x187c]
push str._s.Bk
push eax
call fcn.004021aa
add esp, 0xc
jmp 0x402702
mov ecx, dword [edi + 0x5c]
push str.FunshionInstall.exe
call fcn.00401d47
mov edi, dword [ebp - 0x187c]
add edi, 0xfffffff0
push edi
call fcn.0040170a
pop ecx
mov ecx, dword [ebp - 0x1874]
add eax, 0x10
add ecx, 0xfffffff0
mov dword [esi], eax
call fcn.00401442
lea ecx, [ebx - 0x10]
jmp 0x402756
mov edi, dword [ebp - 0x187c]
add edi, 0xfffffff0
push edi
call fcn.0040170a
add eax, 0x10
pop ecx
mov dword [esi], eax
mov ecx, dword [ebp - 0x1874]
add ecx, 0xfffffff0
call fcn.00401442
mov ecx, dword [ebp - 0x1888]
add ecx, 0xfffffff0
call fcn.00401442
mov ecx, edi
call fcn.00401442
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a70d
leave
ret 8