Function at 0x410580
Capabilities:
Parse url

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x4c]
mov ebp, ecx
push edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x410590
sub esi, ecx
xor eax, eax
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 0x4105cf
push esi
mov ecx, ebp
call fcn.00404e20
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 0x4105fe
push esi
mov ecx, edi
call fcn.00404e20
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 0x41062c
push esi
mov ecx, ebx
call fcn.00404e20
mov eax, dword [ebx]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x14]
lea ebx, [ebp + 0x14]
sub eax, 0x10
mov dword [esp + 0x30], esi
mov edx, dword [eax + 0xc]
mov ecx, 1
sub ecx, edx
mov edx, dword [eax + 8]
sub edx, esi
or ecx, edx
jge 0x41065a
push esi
mov ecx, ebx
call fcn.00404e20
mov eax, dword [ebx]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x18]
lea ebx, [ebp + 0x18]
sub eax, 0x10
mov dword [esp + 0x38], esi
mov edx, dword [eax + 0xc]
mov ecx, 1
sub ecx, edx
mov edx, dword [eax + 8]
sub edx, esi
or ecx, edx
jge 0x410688
push esi
mov ecx, ebx
call fcn.00404e20
mov eax, dword [ebx]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x1c]
lea ebx, [ebp + 0x1c]
sub eax, 0x10
mov dword [esp + 0x40], esi
mov edx, dword [eax + 0xc]
mov ecx, 1
sub ecx, edx
mov edx, dword [eax + 8]
sub edx, esi
or ecx, edx
jge 0x4106b6
push esi
mov ecx, ebx
call fcn.00404e20
mov edx, dword [esp + 0x50]
mov eax, dword [ebx]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov edx, dword [ebp]
test eax, eax
setne al
test edx, edx
jne 0x4106e4
xor ecx, ecx
jmp 0x4106ff
mov ecx, edx
lea esi, [ecx + 1]
lea esp, [esp]
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x4106f0
sub ecx, esi
js 0x410814
cmp ecx, dword [edx - 8]
jg 0x410814
mov dword [edx - 0xc], ecx
mov edx, dword [ebp]
mov byte [ecx + edx], 0
mov edx, dword [edi]
test edx, edx
jne 0x41071c
xor ecx, ecx
jmp 0x410730
mov ecx, edx
lea esi, [ecx + 1]
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x410721
sub ecx, esi
js 0x410814
cmp ecx, dword [edx - 8]
jg 0x410814
mov dword [edx - 0xc], ecx
mov edx, dword [edi]
mov byte [ecx + edx], 0
mov edx, dword [ebp + 0x10]
test edx, edx
jne 0x41074d
xor ecx, ecx
jmp 0x410761
mov ecx, edx
lea esi, [ecx + 1]
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x410752
sub ecx, esi
js 0x410814
cmp ecx, dword [edx - 8]
jg 0x410814
mov dword [edx - 0xc], ecx
mov edx, dword [ebp + 0x10]
mov byte [ecx + edx], 0
mov edx, dword [ebp + 0x14]
test edx, edx
jne 0x41077f
xor ecx, ecx
jmp 0x410793
mov ecx, edx
lea esi, [ecx + 1]
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x410784
sub ecx, esi
js 0x410814
cmp ecx, dword [edx - 8]
jg 0x410814
mov dword [edx - 0xc], ecx
mov edx, dword [ebp + 0x14]
mov byte [ecx + edx], 0
mov edx, dword [ebp + 0x18]
test edx, edx
jne 0x4107b1
xor ecx, ecx
jmp 0x4107c1
mov ecx, edx
lea esi, [ecx + 1]
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x4107b6
sub ecx, esi
js 0x410814
cmp ecx, dword [edx - 8]
jg 0x410814
mov dword [edx - 0xc], ecx
mov edx, dword [ebp + 0x18]
mov byte [ecx + edx], 0
mov edx, dword [ebp + 0x1c]
test edx, edx
jne 0x4107db
xor ecx, ecx
jmp 0x4107eb
mov ecx, edx
lea esi, [ecx + 1]
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x4107e0
sub ecx, esi
js 0x410814
cmp ecx, dword [edx - 8]
jg 0x410814
mov dword [edx - 0xc], ecx
mov edx, dword [ebp + 0x1c]
mov byte [ecx + edx], 0
mov ecx, dword [esp + 0x1c]
mov dx, word [esp + 0x28]
pop edi
pop esi
mov dword [ebp + 4], ecx
mov word [ebp + 0xc], dx
pop ebp
pop ebx
add esp, 0x3c
ret 4
push 0x80070057
call fcn.004011d0
int3