Function at 0x4d8c50
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5768d7
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x5e8024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], 0
xorps xmm0, xmm0
mov edi, dword [ebx + 4]
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x44], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x48], 0x64
mov dword [ebp - 0x3c], 0x64
mov dword [ebp - 0x34], 0x64
mov dword [ebp - 0x2c], 0x64
mov dword [ebp - 0x24], 0x64
mov dword [ebp - 0x5c], 0x3c
mov esi, dword [edi - 0xc]
call fcn.00409d30
push eax
push esi
push edi
lea ecx, [ebp - 0x18]
call fcn.0040e2c0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
or edi, 0xffffffff
test eax, eax
jne 0x4d8d16
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebx], esi
jmp 0x4d8fe4
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4d8d63
mov esi, dword [ebp - 0x48]
call fcn.00409d30
push eax
push esi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
call fcn.0040e2c0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x14]
lea ecx, [ebx + 0x10]
push eax
call fcn.0047f480
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d8d63
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4d8db0
mov esi, dword [ebp - 0x2c]
call fcn.00409d30
push eax
push esi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
call fcn.0040e2c0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x14]
call fcn.0047f480
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d8db0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4d8e38
mov esi, dword [ebp - 0x3c]
call fcn.00409d30
push eax
push esi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
call fcn.0040e2c0
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.004dd660
push eax
lea ecx, [ebx + 0x1c]
mov dword [ebp - 0x10], 1
call fcn.0047f480
mov eax, 1
mov dword [ebp - 0x10], eax
and eax, 0xfffffffe
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 9
mov eax, edi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d8e1a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d8e38
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4d8eba
mov esi, dword [ebp - 0x34]
call fcn.00409d30
push eax
push esi
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
call fcn.0040e2c0
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x20]
call fcn.004dd660
mov esi, dword [ebp - 0x10]
lea ecx, [ebx + 0x20]
or esi, 2
push eax
mov dword [ebp - 0x10], esi
call fcn.0047f480
and esi, 0xfffffffd
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xe
mov eax, edi
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d8e9c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d8eba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4d8f07
mov esi, dword [ebp - 0x24]
call fcn.00409d30
push eax
push esi
push dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
call fcn.0040e2c0
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x18]
call fcn.0047f480
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d8f07
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x50]
mov ax, word [ebp - 0x44]
mov dword [ebx + 8], ecx
mov word [ebx + 0xc], ax
cmp ecx, 5
jne 0x4d8fe2
mov edx, dword [ebx + 0x14]
lea ecx, [ebx + 0x14]
mov esi, dword [edx - 0xc]
cmp esi, 3
jle 0x4d8fe2
cmp word [edx], 0x5c
jne 0x4d8fe2
cmp word [edx + 2], 0x5c
jne 0x4d8fe2
cmp word [edx + 4], 0x3f
je 0x4d8fe2
lea eax, [esi - 2]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040dfc0
mov byte [ebp - 4], 0x15
add ebx, 0x10
push eax
mov ecx, ebx
call fcn.0047f480
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d8f8a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jl 0x4d8fe2
push 0x59a78c
push eax
call fcn.0052f72c
add esp, 8
test eax, eax
je 0x4d8fe2
sub eax, dword [ebx]
sar eax, 1
test eax, eax
jle 0x4d8fe2
push eax
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.0040df00
mov byte [ebp - 4], 0x17
mov ecx, ebx
push eax
call fcn.0047f480
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d8fe2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x4d9003
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret