Function at 0x54a4a0
Capabilities:
Parse url

Disassembly:
push 0xffffffffffffffff
push 0x572309
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.0054c770
test eax, eax
jl 0x54a7e0
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 0x54a578
mov ecx, ebx
call fcn.0054cb10
mov eax, 0x80070057
jmp 0x54a7e0
mov al, byte [esp + 0x160]
test al, al
jne 0x54a593
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 0x54a5de
lea eax, [esp + 0x60]
mov dword [esi + 4], edi
push eax
mov dword [esi + 8], 1
call fcn.005506a7
cmp eax, edi
mov dword [esi], eax
jne 0x54a5e0
lea ecx, [esp + 0x60]
test ecx, ecx
je 0x54a5e0
push 0x8007000e
call fcn.005505fa
jmp 0x54a5e0
xor esi, esi
cmp esi, edi
mov dword [esp + 0x968], 0xffffffff
mov dword [esp + 0x18], esi
jne 0x54a5fd
push 0x8007000e
call fcn.005505fa
cmp esi, edi
mov dword [esp + 0x968], 1
je 0x54a633
cmp dword [esi + 4], edi
jne 0x54a62e
mov edx, dword [esi]
push edx
call fcn.0055071c
cmp eax, edi
mov dword [esi + 4], eax
jne 0x54a62e
cmp dword [esi], edi
je 0x54a62e
push 0x8007000e
call fcn.005505fa
mov eax, dword [esi + 4]
jmp 0x54a635
xor eax, eax
push eax
mov ecx, ebx
call fcn.0054c8b0
mov edi, eax
test edi, edi
jge 0x54a689
mov ecx, ebx
call fcn.0054cb10
test esi, esi
je 0x54a682
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x54a682
mov eax, dword [esi]
test eax, eax
je 0x54a669
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x54a679
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, edi
jmp 0x54a7e0
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x3c]
push 0
push ecx
push edx
mov ecx, ebx
call fcn.0054c920
test eax, eax
jl 0x54a753
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.0054aea0
test eax, eax
jl 0x54a753
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
push 0
call fcn.0054b4a0
mov ebp, eax
cmp ebp, 1
je 0x54a757
xor ebx, ebx
test ebp, ebp
jge 0x54a6fb
cmp ebp, 0x80092002
jne 0x54a79b
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 0x54a796
mov ecx, dword [esp + 0x14]
push ebx
push ebp
push edi
call fcn.0054a800
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 0x54a79b
mov ebp, eax
jmp 0x54a79f
test esi, esi
je 0x54a78f
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x54a78f
mov eax, dword [esi]
test eax, eax
je 0x54a776
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x54a786
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, 1
jmp 0x54a7e0
mov ebp, 0x800401ea
mov ebx, dword [esp + 0x10]
mov ecx, ebx
call fcn.0054cb10
test esi, esi
je 0x54a7de
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x54a7de
mov eax, dword [esi]
test eax, eax
je 0x54a7c5
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x54a7d5
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