Function at 0x41c1d6
Capabilities:
Parse url

Disassembly:
mov eax, 0x4465bc
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x50
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
push ebx
lea ecx, [esi + 0x3c]
call fcn.0040399e
push 0xe
xor eax, eax
pop ecx
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
mov eax, dword [ebx]
push 1
pop edi
lea edx, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0x3c
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x24], edi
mov ecx, dword [eax - 8]
push edx
push 0
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x41c23b
and byte [esi + 4], al
xor al, al
jmp 0x41c5b3
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x58], 0
mov dword [esi + 0x34], eax
je 0x41c272
push dword [ebp - 0x54]
lea ecx, [ebp + 8]
push dword [ebp - 0x58]
call fcn.0041bfa8
and dword [ebp - 4], 0
push eax
lea ecx, [esi + 8]
call fcn.0040399e
or edi, 0xffffffff
lea ecx, [ebp + 8]
mov dword [ebp - 4], edi
call fcn.00403a89
jmp 0x41c298
mov eax, dword [0x45724c]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
lea ecx, [esi + 8]
push eax
mov dword [ebp - 4], edi
call fcn.0040399e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403a89
or edi, 0xffffffff
cmp dword [ebp - 0x40], 0
je 0x41c2c4
push dword [ebp - 0x3c]
lea ecx, [ebp + 8]
push dword [ebp - 0x40]
call fcn.0041bfa8
push eax
lea ecx, [esi + 0x10]
mov dword [ebp - 4], 2
call fcn.0040399e
mov dword [ebp - 4], edi
lea ecx, [ebp + 8]
jmp 0x41c2e5
mov eax, dword [0x45724c]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
lea ecx, [esi + 0x10]
push eax
mov dword [ebp - 4], 3
call fcn.0040399e
mov dword [ebp - 4], edi
lea ecx, [ebp + 8]
call fcn.00403a89
cmp dword [ebp - 0x38], 0
je 0x41c316
push dword [ebp - 0x34]
lea ecx, [ebp + 8]
push dword [ebp - 0x38]
call fcn.0041bfa8
push eax
lea ecx, [esi + 0x14]
mov dword [ebp - 4], 4
call fcn.0040399e
mov dword [ebp - 4], edi
lea ecx, [ebp + 8]
jmp 0x41c337
mov eax, dword [0x45724c]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
lea ecx, [esi + 0x14]
push eax
mov dword [ebp - 4], 5
call fcn.0040399e
mov dword [ebp - 4], edi
lea ecx, [ebp + 8]
call fcn.00403a89
cmp dword [ebp - 0x4c], 0
je 0x41c368
push dword [ebp - 0x48]
lea ecx, [ebp + 8]
push dword [ebp - 0x4c]
call fcn.0041bfa8
push eax
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 6
call fcn.0040399e
mov dword [ebp - 4], edi
lea ecx, [ebp + 8]
jmp 0x41c389
mov eax, dword [0x45724c]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
lea ecx, [esi + 0xc]
push eax
mov dword [ebp - 4], 7
call fcn.0040399e
mov dword [ebp - 4], edi
lea ecx, [ebp + 8]
call fcn.00403a89
cmp dword [ebp - 0x30], 0
je 0x41c3ba
push dword [ebp - 0x2c]
lea ecx, [ebp + 8]
push dword [ebp - 0x30]
call fcn.0041bfa8
push eax
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 8
call fcn.0040399e
mov dword [ebp - 4], edi
lea ecx, [ebp + 8]
jmp 0x41c3db
mov eax, dword [0x45724c]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
lea ecx, [esi + 0x18]
push eax
mov dword [ebp - 4], 9
call fcn.0040399e
mov dword [ebp - 4], edi
lea ecx, [ebp + 8]
call fcn.00403a89
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebx]
add ecx, ecx
sub ecx, eax
lea eax, [ebp + 8]
add ecx, dword [ebp - 0x30]
sar ecx, 1
push ecx
push 0
push eax
mov ecx, ebx
call fcn.00406c3f
push eax
lea ecx, [esi + 0x24]
mov dword [ebp - 4], 0xa
call fcn.0040399e
lea ecx, [ebp + 8]
mov dword [ebp - 4], edi
call fcn.00403a89
cmp dword [ebp - 0x28], 0
je 0x41c446
push dword [ebp - 0x24]
lea ecx, [ebp + 8]
push dword [ebp - 0x28]
call fcn.0041bfa8
lea edi, [esi + 0x1c]
push eax
mov ecx, edi
mov dword [ebp - 4], 0xb
call fcn.0040399e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
jmp 0x41c46a
mov eax, dword [0x45724c]
mov dword [ebp + 8], eax
lea edi, [esi + 0x1c]
lea eax, [ebp + 8]
push eax
mov ecx, edi
mov dword [ebp - 4], 0xc
call fcn.0040399e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403a89
mov ax, word [ebp - 0x44]
mov ecx, dword [ebp - 0x30]
mov word [esi + 0x38], ax
mov eax, dword [ebx]
sub ecx, eax
lea eax, [ebp - 0x14]
sar ecx, 1
push ecx
push 0
push eax
mov ecx, ebx
call fcn.00406c3f
push eax
lea ecx, [esi + 0x20]
mov dword [ebp - 4], 0xd
call fcn.0040399e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00403a89
mov eax, dword [edi]
mov ecx, dword [eax - 8]
lea edx, [eax + 2]
mov dword [ebp + 8], edx
lea eax, [eax + ecx*2]
cmp edx, eax
mov dword [ebp - 0x1c], eax
jae 0x41c5ad
mov ebx, dword [sym.imp.MSVCRT.dll_wcschr]
push 0x3d
push dword [ebp + 8]
call ebx
mov edi, eax
pop ecx
test edi, edi
pop ecx
je 0x41c5ad
push 0x26
push edi
call ebx
pop ecx
mov dword [ebp - 0x10], eax
test eax, eax
pop ecx
je 0x41c577
mov eax, dword [ebp - 0x10]
push 0x26
add eax, 2
push eax
call ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
add eax, 2
push 0x3d
push eax
call ebx
mov ecx, dword [ebp - 0x18]
add esp, 0x10
test ecx, ecx
jne 0x41c515
test eax, eax
jne 0x41c524
test eax, eax
je 0x41c577
cmp eax, ecx
jbe 0x41c522
mov dword [ebp - 0x10], ecx
jmp 0x41c4ee
jae 0x41c4ee
mov eax, dword [ebp - 0x10]
push ecx
sub eax, edi
mov ecx, esp
sar eax, 1
dec eax
mov dword [ebp - 0x18], esp
push eax
lea eax, [edi + 2]
push eax
call fcn.0041bfa8
sub edi, dword [ebp + 8]
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
sar edi, 1
push edi
mov dword [ebp - 4], 0xe
push dword [ebp + 8]
call fcn.0041bfa8
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x28]
call fcn.0041c8e6
mov eax, dword [ebp - 0x10]
add eax, 2
cmp eax, dword [ebp - 0x1c]
mov dword [ebp + 8], eax
jb 0x41c4c9
jmp 0x41c5ad
push ecx
lea eax, [edi + 2]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.00406b84
sub edi, dword [ebp + 8]
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
sar edi, 1
push edi
mov dword [ebp - 4], 0xf
push dword [ebp + 8]
call fcn.0041bfa8
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x28]
call fcn.0041c8e6
mov byte [esi + 4], 1
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4