Function at 0x549d60
Capabilities:
Parse url

Disassembly:
push 0xffffffffffffffff
push 0x5722b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x950
push ebx
push ebp
lea ebx, [ecx + 0xc]
push esi
mov dword [esp + 0x10], ecx
push edi
mov ecx, ebx
mov dword [esp + 0x10], ebx
call fcn.0054c770
xor ebp, ebp
cmp eax, ebp
jl 0x54a09b
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
stosb byte es:[edi], al
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x24]
lea edx, [esp + 0x24]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x978]
push edx
lea eax, [esp + 0x64]
lea ecx, [esp + 0x164]
push 0x10000000
push edi
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 edi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x549e38
mov ecx, ebx
call fcn.0054cb10
mov eax, 0x80070057
jmp 0x54a09b
mov al, byte [esp + 0x160]
test al, al
jne 0x549e53
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
cmp esi, ebp
mov dword [esp + 0x968], ebp
je 0x549e9b
mov dword [esi + 4], ebp
mov ebp, dword [esp + 0x970]
push ebp
mov dword [esi + 8], 1
call fcn.005506a7
test eax, eax
mov dword [esi], eax
jne 0x549e9d
test ebp, ebp
je 0x549e9d
push 0x8007000e
call fcn.005505fa
jmp 0x549e9d
xor esi, esi
test esi, esi
mov dword [esp + 0x968], 0xffffffff
mov dword [esp + 0x18], esi
jne 0x549eba
push 0x8007000e
call fcn.005505fa
test esi, esi
mov dword [esp + 0x968], 1
je 0x549ef3
mov eax, dword [esi + 4]
test eax, eax
jne 0x549eee
mov eax, dword [esi]
push eax
call fcn.0055071c
test eax, eax
mov dword [esi + 4], eax
jne 0x549eee
cmp dword [esi], 0
je 0x549eee
push 0x8007000e
call fcn.005505fa
mov eax, dword [esi + 4]
jmp 0x549ef5
xor eax, eax
push eax
mov ecx, ebx
call fcn.0054c8b0
mov ebp, eax
test ebp, ebp
jge 0x549f41
mov ecx, ebx
call fcn.0054cb10
test esi, esi
je 0x54a099
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x54a099
mov eax, dword [esi]
test eax, eax
je 0x549f31
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x54a090
jmp 0x54a087
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x974]
push 0
mov edx, dword [ebp + 8]
mov cx, word [eax]
push edx
push ecx
mov ecx, ebx
call fcn.0054c920
test eax, eax
jl 0x54a00e
mov edx, dword [esp + 0x980]
push 0
push edx
push 0
push 0
push 0
lea eax, [esp + 0x74]
push edi
push eax
mov ecx, ebp
call fcn.0054aea0
test eax, eax
jl 0x54a00e
lea ecx, [esp + 0x1c]
push ecx
push 0
mov ecx, ebp
call fcn.0054b4a0
mov ebp, eax
cmp ebp, 1
je 0x54a012
xor ebx, ebx
test ebp, ebp
jge 0x549fb6
cmp ebp, 0x80092002
jne 0x54a056
mov ebx, 1
mov edx, dword [esp + 0x97c]
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x54a051
mov ecx, dword [esp + 0x14]
push ebx
push ebp
push edi
call fcn.0054a800
xor ecx, ecx
lea edx, [esp + 0x1c]
test eax, eax
setge cl
dec ecx
push edx
push 0
and ecx, eax
push 0
push edi
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x54a056
mov ebp, eax
jmp 0x54a05a
test esi, esi
je 0x54a04a
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x54a04a
mov eax, dword [esi]
test eax, eax
je 0x54a031
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x54a041
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, 1
jmp 0x54a09b
mov ebp, 0x800401ea
mov ebx, dword [esp + 0x10]
mov ecx, ebx
call fcn.0054cb10
test esi, esi
je 0x54a099
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x54a099
mov eax, dword [esi]
test eax, eax
je 0x54a080
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x54a090
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 0x14