Function at 0x4049e0
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 0x4049f0
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 0x404a31
push esi
mov ecx, ebp
call fcn.00404010
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 0x404a60
push esi
mov ecx, edi
call fcn.00404010
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 0x404a8e
push esi
mov ecx, ebx
call fcn.00404010
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 0x404ab8
push esi
call fcn.00404010
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 0x404ae3
push esi
call fcn.00404010
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 0x404b0e
push esi
call fcn.00404010
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 [sym.imp.WININET.dll_InternetCrackUrlA]
mov ecx, dword [ebp]
test eax, eax
setne byte [esp + 0x50]
test ecx, ecx
jne 0x404b3f
xor esi, esi
jmp 0x404b51
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x404b44
sub eax, esi
mov esi, eax
js 0x404b56
cmp esi, dword [ecx - 8]
jle 0x404b60
push 0x80070057
call fcn.004038c0
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 0x404b77
xor esi, esi
jmp 0x404b8d
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404b80
sub eax, esi
mov esi, eax
js 0x404b92
cmp esi, dword [edx - 8]
jle 0x404b9c
push 0x80070057
call fcn.004038c0
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 0x404bb1
xor esi, esi
jmp 0x404bc3
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404bb6
sub eax, esi
mov esi, eax
js 0x404bc8
cmp esi, dword [edx - 8]
jle 0x404bd2
push 0x80070057
call fcn.004038c0
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 0x404bea
xor esi, esi
jmp 0x404bfd
mov eax, edx
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404bf0
sub eax, esi
mov esi, eax
js 0x404c02
cmp esi, dword [edx - 8]
jle 0x404c0c
push 0x80070057
call fcn.004038c0
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 0x404c24
xor esi, esi
jmp 0x404c3d
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404c30
sub eax, esi
mov esi, eax
js 0x404c42
cmp esi, dword [edx - 8]
jle 0x404c4c
push 0x80070057
call fcn.004038c0
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 0x404c64
xor esi, esi
jmp 0x404c7d
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404c70
sub eax, esi
mov esi, eax
js 0x404c82
cmp esi, dword [edx - 8]
jle 0x404c8c
push 0x80070057
call fcn.004038c0
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