Function at 0x45bcc0
Capabilities:
Parse url

Disassembly:
push 0xffffffffffffffff
push 0x4d493b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa6c
push ebx
push ebp
push esi
mov esi, dword [esp + 0xa88]
xor ebx, ebx
push edi
cmp esi, ebx
mov dword [esp + 0x14], ecx
je 0x45bf22
cmp byte [esi], 0x30
je 0x45bf22
mov ecx, 0x208
xor eax, eax
lea edi, [esp + 0x59]
mov byte [esp + 0x58], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x5c]
push 0x10000000
push esi
mov dword [esp + 0x28], 0x3c
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0x824
call edi
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x45bf22
mov al, byte [esp + 0x58]
test al, al
je 0x45bf1e
mov edx, dword [0x4e8e98]
lea eax, [esp + 0x58]
test eax, eax
mov dword [esp + 0x10], edx
je 0x45be54
lea ecx, [esp + 0x58]
shr ecx, 0x10
jne 0x45be03
xor edi, edi
lea edx, [esp + 0x58]
lea eax, [esp + 0x87c]
mov di, dx
push 0x100
push eax
push edi
call fcn.00441830
mov ecx, 0x100
sub ecx, eax
cmp ecx, 2
jle 0x45bdc2
lea edx, [esp + 0x87c]
lea ecx, [esp + 0x10]
push edx
call fcn.00441140
jmp 0x45be54
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.004416e0
cmp eax, ebx
je 0x45be49
push esi
push eax
push edi
call fcn.00441830
mov ecx, esi
sub ecx, eax
cmp ecx, 2
jg 0x45be49
add esi, 0x100
lea ecx, [esp + 0x10]
lea edx, [esi - 1]
push edx
call fcn.004416e0
cmp eax, ebx
jne 0x45bdd9
jmp 0x45be49
lea eax, [esp + 0x58]
push eax
call edi
mov esi, eax
cmp esi, ebx
je 0x45be54
push esi
lea ecx, [esp + 0x14]
call fcn.00408d60
test eax, eax
je 0x45be54
mov ecx, dword [esp + 0x10]
lea eax, [esi + 1]
cmp eax, ebx
mov esi, ecx
jne 0x45be2f
cmp ecx, ebx
jne 0x45be49
push eax
push ecx
lea ecx, [esp + 0x60]
push 0xffffffffffffffff
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
jle 0x45be49
mov word [esi + eax*2 - 2], bx
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00416f40
mov eax, dword [esp + 0x10]
push ecx
mov dword [esp + 0xa88], ebx
mov dword [esp + 0x1c], esp
mov ecx, dword [eax - 0xc]
mov ebp, esp
cmp ecx, ebx
jl 0x45be80
mov dword [ebp], eax
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x45bee1
mov eax, dword [0x4e8e98]
mov dword [ebp], eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov esi, eax
je 0x45be9b
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov eax, dword [ebp]
cmp dword [eax - 0xc], 1
jg 0x45bea9
cmp ebx, dword [eax - 4]
jle 0x45bebc
mov ecx, ebp
call fcn.00408f10
push ebx
mov ecx, ebp
call fcn.00408d60
test eax, eax
je 0x45bee1
mov edi, dword [ebp]
lea eax, [ebx + ebx]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp]
mov dword [ecx - 8], ebx
mov edx, dword [ebp]
mov word [eax + edx], 0
mov eax, dword [esp + 0x18]
lea ecx, [eax + 4]
call fcn.00478740
mov edx, dword [0x4e80f0]
mov ebx, eax
mov eax, dword [esp + 0x10]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45bf1e
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x45bf1e
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004d0379
add esp, 4
mov eax, ebx
jmp 0x45bf24
xor eax, eax
mov ecx, dword [esp + 0xa7c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa78
ret 4