Function at 0x413ec0
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 0x413ed0
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 0x413f0f
push esi
mov ecx, ebp
call fcn.004085c0
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 0x413f3e
push esi
mov ecx, edi
call fcn.004085c0
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 0x413f6c
push esi
mov ecx, ebx
call fcn.004085c0
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 0x413f9a
push esi
mov ecx, ebx
call fcn.004085c0
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 0x413fc8
push esi
mov ecx, ebx
call fcn.004085c0
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 0x413ff6
push esi
mov ecx, ebx
call fcn.004085c0
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 0x414024
xor ecx, ecx
jmp 0x41403f
mov ecx, edx
lea esi, [ecx + 1]
lea esp, [esp]
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x414030
sub ecx, esi
js 0x414154
cmp ecx, dword [edx - 8]
jg 0x414154
mov dword [edx - 0xc], ecx
mov edx, dword [ebp]
mov byte [ecx + edx], 0
mov edx, dword [edi]
test edx, edx
jne 0x41405c
xor ecx, ecx
jmp 0x414070
mov ecx, edx
lea esi, [ecx + 1]
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x414061
sub ecx, esi
js 0x414154
cmp ecx, dword [edx - 8]
jg 0x414154
mov dword [edx - 0xc], ecx
mov edx, dword [edi]
mov byte [ecx + edx], 0
mov edx, dword [ebp + 0x10]
test edx, edx
jne 0x41408d
xor ecx, ecx
jmp 0x4140a1
mov ecx, edx
lea esi, [ecx + 1]
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x414092
sub ecx, esi
js 0x414154
cmp ecx, dword [edx - 8]
jg 0x414154
mov dword [edx - 0xc], ecx
mov edx, dword [ebp + 0x10]
mov byte [ecx + edx], 0
mov edx, dword [ebp + 0x14]
test edx, edx
jne 0x4140bf
xor ecx, ecx
jmp 0x4140d3
mov ecx, edx
lea esi, [ecx + 1]
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x4140c4
sub ecx, esi
js 0x414154
cmp ecx, dword [edx - 8]
jg 0x414154
mov dword [edx - 0xc], ecx
mov edx, dword [ebp + 0x14]
mov byte [ecx + edx], 0
mov edx, dword [ebp + 0x18]
test edx, edx
jne 0x4140f1
xor ecx, ecx
jmp 0x414101
mov ecx, edx
lea esi, [ecx + 1]
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x4140f6
sub ecx, esi
js 0x414154
cmp ecx, dword [edx - 8]
jg 0x414154
mov dword [edx - 0xc], ecx
mov edx, dword [ebp + 0x18]
mov byte [ecx + edx], 0
mov edx, dword [ebp + 0x1c]
test edx, edx
jne 0x41411b
xor ecx, ecx
jmp 0x41412b
mov ecx, edx
lea esi, [ecx + 1]
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x414120
sub ecx, esi
js 0x414154
cmp ecx, dword [edx - 8]
jg 0x414154
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