Function at 0x403fd0
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 0x403fe0
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 0x404021
push esi
mov ecx, ebp
call fcn.00403730
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 0x404050
push esi
mov ecx, edi
call fcn.00403730
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 0x40407e
push esi
mov ecx, ebx
call fcn.00403730
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 0x4040a8
push esi
call fcn.00403730
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 0x4040d3
push esi
call fcn.00403730
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 0x4040fe
push esi
call fcn.00403730
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 0x40412f
xor esi, esi
jmp 0x404141
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x404134
sub eax, esi
mov esi, eax
js 0x404146
cmp esi, dword [ecx - 8]
jle 0x404150
push 0x80070057
call fcn.004033d0
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 0x404167
xor esi, esi
jmp 0x40417d
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404170
sub eax, esi
mov esi, eax
js 0x404182
cmp esi, dword [edx - 8]
jle 0x40418c
push 0x80070057
call fcn.004033d0
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 0x4041a1
xor esi, esi
jmp 0x4041b3
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4041a6
sub eax, esi
mov esi, eax
js 0x4041b8
cmp esi, dword [edx - 8]
jle 0x4041c2
push 0x80070057
call fcn.004033d0
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 0x4041da
xor esi, esi
jmp 0x4041ed
mov eax, edx
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4041e0
sub eax, esi
mov esi, eax
js 0x4041f2
cmp esi, dword [edx - 8]
jle 0x4041fc
push 0x80070057
call fcn.004033d0
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 0x404214
xor esi, esi
jmp 0x40422d
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404220
sub eax, esi
mov esi, eax
js 0x404232
cmp esi, dword [edx - 8]
jle 0x40423c
push 0x80070057
call fcn.004033d0
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 0x404254
xor esi, esi
jmp 0x40426d
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404260
sub eax, esi
mov esi, eax
js 0x404272
cmp esi, dword [edx - 8]
jle 0x40427c
push 0x80070057
call fcn.004033d0
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