Function at 0x403f10
Capabilities:
Parse url

Disassembly:
sub esp, 0x3c
push ebp
push esi
mov esi, dword [esp + 0x48]
mov ebp, ecx
lea ecx, [esi + 1]
mov edi, edi
mov al, byte [esi]
inc esi
test al, al
jne 0x403f20
sub esi, ecx
push ebx
xor eax, eax
push edi
mov ecx, 0xf
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov eax, dword [ebp]
sub eax, 0x10
mov dword [esp + 0x10], 0x3c
mov ebx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov ecx, 1
sub ecx, ebx
sub edx, esi
or ecx, edx
jge 0x403f61
push esi
mov ecx, ebp
call fcn.00403690
mov eax, dword [ebp]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
lea edi, [ebp + 8]
sub eax, 0x10
mov dword [esp + 0x18], esi
mov edx, dword [eax + 0xc]
mov ecx, 1
sub ecx, edx
mov edx, dword [eax + 8]
sub edx, esi
or ecx, edx
jge 0x403f90
push esi
mov ecx, edi
call fcn.00403690
mov eax, dword [edi]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x10]
lea ebx, [ebp + 0x10]
sub eax, 0x10
mov dword [esp + 0x24], esi
mov edx, dword [eax + 0xc]
mov ecx, 1
sub ecx, edx
mov edx, dword [eax + 8]
sub edx, esi
or ecx, edx
jge 0x403fbe
push esi
mov ecx, ebx
call fcn.00403690
mov eax, dword [ebx]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x14]
lea ecx, [ebp + 0x14]
sub eax, 0x10
mov dword [esp + 0x30], esi
mov edx, 1
sub edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
or edx, eax
jge 0x403fe8
push esi
call fcn.00403690
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x34], ecx
lea ecx, [ebp + 0x18]
sub eax, 0x10
mov dword [esp + 0x38], esi
mov edx, 1
sub edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
or edx, eax
jge 0x404013
push esi
call fcn.00403690
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x3c], ecx
lea ecx, [ebp + 0x1c]
sub eax, 0x10
mov dword [esp + 0x40], esi
mov edx, 1
sub edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
or edx, eax
jge 0x40403e
push esi
call fcn.00403690
mov eax, dword [esp + 0x50]
mov ecx, dword [ebp + 0x1c]
lea edx, [esp + 0x10]
push edx
push 0
push 0
push eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], esi
call dword [0x41d2d0]
mov ecx, dword [ebp]
test eax, eax
setne byte [esp + 0x50]
test ecx, ecx
jne 0x40406f
xor esi, esi
jmp 0x404081
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x404074
sub eax, esi
mov esi, eax
js 0x404086
cmp esi, dword [ecx - 8]
jle 0x404090
push 0x80070057
call fcn.00403340
mov ecx, dword [ebp]
mov dword [ecx - 0xc], esi
mov edx, dword [ebp]
mov byte [esi + edx], 0
mov edx, dword [edi]
test edx, edx
jne 0x4040a7
xor esi, esi
jmp 0x4040bd
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4040b0
sub eax, esi
mov esi, eax
js 0x4040c2
cmp esi, dword [edx - 8]
jle 0x4040cc
push 0x80070057
call fcn.00403340
mov eax, dword [edi]
mov dword [eax - 0xc], esi
mov ecx, dword [edi]
mov byte [esi + ecx], 0
mov edx, dword [ebx]
test edx, edx
jne 0x4040e1
xor esi, esi
jmp 0x4040f3
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4040e6
sub eax, esi
mov esi, eax
js 0x4040f8
cmp esi, dword [edx - 8]
jle 0x404102
push 0x80070057
call fcn.00403340
mov edx, dword [ebx]
mov dword [edx - 0xc], esi
mov eax, dword [ebx]
mov byte [esi + eax], 0
mov edx, dword [ebp + 0x14]
test edx, edx
pop edi
pop ebx
jne 0x40411a
xor esi, esi
jmp 0x40412d
mov eax, edx
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404120
sub eax, esi
mov esi, eax
js 0x404132
cmp esi, dword [edx - 8]
jle 0x40413c
push 0x80070057
call fcn.00403340
mov ecx, dword [ebp + 0x14]
mov dword [ecx - 0xc], esi
mov edx, dword [ebp + 0x14]
mov byte [esi + edx], 0
mov edx, dword [ebp + 0x18]
test edx, edx
jne 0x404154
xor esi, esi
jmp 0x40416d
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404160
sub eax, esi
mov esi, eax
js 0x404172
cmp esi, dword [edx - 8]
jle 0x40417c
push 0x80070057
call fcn.00403340
mov eax, dword [ebp + 0x18]
mov dword [eax - 0xc], esi
mov ecx, dword [ebp + 0x18]
mov byte [esi + ecx], 0
mov edx, dword [ebp + 0x1c]
test edx, edx
jne 0x404194
xor esi, esi
jmp 0x4041ad
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4041a0
sub eax, esi
mov esi, eax
js 0x4041b2
cmp esi, dword [edx - 8]
jle 0x4041bc
push 0x80070057
call fcn.00403340
mov edx, dword [ebp + 0x1c]
mov dword [edx - 0xc], esi
mov eax, dword [ebp + 0x1c]
mov byte [esi + eax], 0
mov ecx, dword [esp + 0x14]
mov dx, word [esp + 0x20]
mov al, byte [esp + 0x48]
pop esi
mov dword [ebp + 4], ecx
mov word [ebp + 0xc], dx
pop ebp
add esp, 0x3c
ret 4