Function at 0x55f8e0
Capabilities:
Parse url

Disassembly:
push 0xffffffffffffffff
push 0x589959
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x950
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x14], ebp
lea ebx, [ebp + 0xc]
mov ecx, ebx
mov dword [esp + 0x10], ebx
call fcn.00561bc0
test eax, eax
jl 0x55fc20
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x61]
mov byte [esp + 0x60], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x161]
mov byte [esp + 0x160], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, dword [esp + 0x970]
mov ecx, 0xf
stosb byte es:[edi], al
xor eax, eax
lea edi, [esp + 0x24]
lea edx, [esp + 0x24]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x64]
lea ecx, [esp + 0x164]
push 0x10000000
push esi
mov dword [esp + 0x30], 0x3c
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0x100
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], 0x800
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x55f9b8
mov ecx, ebx
call fcn.00561f60
mov eax, 0x80070057
jmp 0x55fc20
mov al, byte [esp + 0x160]
test al, al
jne 0x55f9d3
mov byte [esp + 0x160], 0x2f
mov byte [esp + 0x161], 0
push 0xc
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
xor edi, edi
cmp esi, edi
mov dword [esp + 0x968], edi
je 0x55fa1e
lea eax, [esp + 0x60]
mov dword [esi + 4], edi
push eax
mov dword [esi + 8], 1
call fcn.00565b3f
cmp eax, edi
mov dword [esi], eax
jne 0x55fa20
lea ecx, [esp + 0x60]
test ecx, ecx
je 0x55fa20
push 0x8007000e
call fcn.00565a92
jmp 0x55fa20
xor esi, esi
cmp esi, edi
mov dword [esp + 0x968], 0xffffffff
mov dword [esp + 0x18], esi
jne 0x55fa3d
push 0x8007000e
call fcn.00565a92
cmp esi, edi
mov dword [esp + 0x968], 1
je 0x55fa73
cmp dword [esi + 4], edi
jne 0x55fa6e
mov edx, dword [esi]
push edx
call fcn.00565bb4
cmp eax, edi
mov dword [esi + 4], eax
jne 0x55fa6e
cmp dword [esi], edi
je 0x55fa6e
push 0x8007000e
call fcn.00565a92
mov eax, dword [esi + 4]
jmp 0x55fa75
xor eax, eax
push eax
mov ecx, ebx
call fcn.00561d00
mov edi, eax
test edi, edi
jge 0x55fac9
mov ecx, ebx
call fcn.00561f60
test esi, esi
je 0x55fac2
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
test eax, eax
jne 0x55fac2
mov eax, dword [esi]
test eax, eax
je 0x55faa9
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x55fab9
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, edi
jmp 0x55fc20
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x3c]
push 0
push ecx
push edx
mov ecx, ebx
call fcn.00561d70
test eax, eax
jl 0x55fb93
mov eax, dword [esp + 0x978]
push 0
push eax
push 0
push 0
lea ecx, [esp + 0x170]
push 0
lea edx, [esp + 0x74]
push ecx
push edx
mov ecx, ebp
call fcn.005602e0
test eax, eax
jl 0x55fb93
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
push 0
call fcn.005608e0
mov ebp, eax
cmp ebp, 1
je 0x55fb97
xor ebx, ebx
test ebp, ebp
jge 0x55fb3b
cmp ebp, 0x80092002
jne 0x55fbdb
mov ebx, 1
mov ecx, dword [esp + 0x974]
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x55fbd6
mov ecx, dword [esp + 0x14]
push ebx
push ebp
push edi
call fcn.0055fc40
xor edx, edx
test eax, eax
setge dl
dec edx
and edx, eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push edi
mov ebp, edx
call dword [sym.imp.KERNEL32.DLL_SetFileTime]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x55fbdb
mov ebp, eax
jmp 0x55fbdf
test esi, esi
je 0x55fbcf
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
test eax, eax
jne 0x55fbcf
mov eax, dword [esi]
test eax, eax
je 0x55fbb6
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x55fbc6
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, 1
jmp 0x55fc20
mov ebp, 0x800401ea
mov ebx, dword [esp + 0x10]
mov ecx, ebx
call fcn.00561f60
test esi, esi
je 0x55fc1e
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
test eax, eax
jne 0x55fc1e
mov eax, dword [esi]
test eax, eax
je 0x55fc05
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x55fc15
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x960]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x95c
ret 0xc