Function at 0x409190
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498c1e
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x4db064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], 0
lea ecx, [ebp + 0xc]
mov esi, dword [ebp + 0xc]
push esi
call fcn.004023e0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x10]
push dword [ebp + 8]
call fcn.004023e0
mov byte [ebp - 4], 2
or ebx, 0xffffffff
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x40966a
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x30], 0
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0x104
push 0
push 0
push dword [edi]
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x5c], 0x3c
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x4092a0
call fcn.00404130
test eax, eax
je 0x409775
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
mov edi, dword [ebp - 0x1c]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], 1
mov byte [ebp - 4], 1
or esi, ebx
mov edx, dword [ebp - 0x10]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409286
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jmp 0x40974d
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
call fcn.00404130
push eax
push esi
push edi
lea ecx, [ebp - 0x14]
call fcn.00407880
mov byte [ebp - 4], 7
mov esi, 0x2f
mov edi, dword [ebp - 0x14]
mov ecx, 0x5c
cmp dword [ebp - 0x50], 5
cmove esi, ecx
mov eax, dword [edi - 0xc]
test eax, eax
jle 0x40932c
lea ecx, [eax - 1]
test ecx, ecx
js 0x40976b
cmp ecx, eax
jg 0x40976b
movzx eax, word [edi + ecx*2]
cmp ax, si
jne 0x40932c
push ecx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.00409830
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x14]
push eax
call fcn.00408560
mov byte [ebp - 4], 7
mov eax, ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409329
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x14]
push esi
push edi
call fcn.004788ca
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x409380
sub ecx, edi
sar ecx, 1
js 0x409380
mov eax, dword [edi - 0xc]
sub eax, ecx
lea ecx, [ebp - 0x14]
dec eax
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004077e0
mov byte [ebp - 4], 0xa
lea ecx, [ebp + 0xc]
push eax
call fcn.00408560
mov byte [ebp - 4], 7
mov eax, ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409380
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x50]
cmp eax, 3
je 0x4093a7
cmp eax, 4
je 0x4093a7
cmp eax, 1
jne 0x4094f7
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
jle 0x4094f7
push 0x3b
jmp 0x4093b6
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
jle 0x4094f7
push 0x3f
push eax
call fcn.00478803
add esp, 8
test eax, eax
je 0x4094f7
mov ecx, dword [ebp + 0xc]
sub eax, ecx
sar eax, 1
test eax, eax
jle 0x4093f1
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 0xc]
call fcn.00409830
mov byte [ebp - 4], 0xc
lea ecx, [ebp + 0xc]
push eax
call fcn.00408560
jmp 0x4094d9
jne 0x4094f7
mov eax, dword [ecx - 0xc]
lea ecx, [ebp + 0xc]
dec eax
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004077e0
mov byte [ebp - 4], 0xe
lea ecx, [ebp + 0xc]
push eax
call fcn.00408560
mov byte [ebp - 4], 7
mov eax, ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409433
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
jle 0x4094f7
push 0x26
push eax
call fcn.00478803
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x409494
mov eax, dword [ebp + 0xc]
sub ecx, eax
sar ecx, 1
test ecx, ecx
jle 0x409497
push ecx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 0xc]
call fcn.00409830
mov byte [ebp - 4], 0x10
lea ecx, [ebp + 0xc]
push eax
call fcn.00408560
mov byte [ebp - 4], 7
mov eax, ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409494
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
jle 0x4094f7
push 0x3d
push eax
call fcn.00478803
mov edx, eax
add esp, 8
test edx, edx
je 0x4094f7
mov ecx, dword [ebp + 0xc]
sub edx, ecx
sar edx, 1
test edx, edx
jle 0x4094f7
mov eax, dword [ecx - 0xc]
lea ecx, [ebp + 0xc]
sub eax, edx
dec eax
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004077e0
mov byte [ebp - 4], 0x12
lea ecx, [ebp + 0xc]
push eax
call fcn.00408560
mov byte [ebp - 4], 7
mov eax, ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4094f7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404130
test eax, eax
je 0x409775
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x18]
push 0x4bbfcc
call fcn.004031b0
test al, al
jne 0x409535
push 9
push 0x4bbfcc
lea ecx, [ebp - 0x18]
call fcn.00403320
mov byte [ebp - 4], 0x15
xor ebx, ebx
mov esi, dword [ebp - 0x18]
mov eax, dword [esi - 0xc]
test eax, eax
jle 0x40956c
test ebx, ebx
js 0x40976b
cmp ebx, eax
jg 0x40976b
movzx eax, word [esi + ebx*2]
lea ecx, [ebp + 0xc]
push 0x5f
push eax
call fcn.0040df90
mov eax, dword [esi - 0xc]
inc ebx
cmp ebx, eax
jl 0x409545
mov byte [ebp - 4], 7
or ebx, 0xffffffff
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40958a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404130
test eax, eax
je 0x409775
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x18]
push str..aiu
call fcn.004031b0
test al, al
jne 0x4095c8
push 4
push str..aiu
lea ecx, [ebp - 0x18]
call fcn.00403320
mov byte [ebp - 4], 0x18
push 0x2e
push dword [ebp + 0xc]
call fcn.004788ca
mov esi, dword [ebp - 0x18]
mov edx, eax
mov ecx, dword [ebp + 0xc]
add esp, 8
test edx, edx
je 0x409609
sub edx, ecx
sar edx, 1
js 0x409609
mov eax, dword [ecx - 0xc]
lea ecx, [ebp + 0xc]
sub eax, edx
push eax
push edx
call fcn.0040be30
push dword [esi - 0xc]
lea ecx, [ebp + 0xc]
push esi
call fcn.004021c0
mov ecx, dword [ebp + 0xc]
cmp dword [ecx - 0xc], 0
jle 0x409628
push 0x2e
push ecx
call fcn.00478803
add esp, 8
test eax, eax
je 0x409628
sub eax, dword [ebp + 0xc]
sar eax, 1
cmp eax, 0xffffffff
jne 0x409634
push dword [esi - 0xc]
lea ecx, [ebp + 0xc]
push esi
call fcn.004021c0
mov byte [ebp - 4], 7
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40964f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x40966a
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov edx, dword [eax - 0xc]
cmp edx, 2
jb 0x4096da
test edx, edx
js 0x40976b
cmp word [eax], 0x5c
jne 0x409695
cmp edx, 1
jl 0x40976b
cmp word [eax + 2], 0x5c
jne 0x40969e
jmp 0x4096a5
cmp edx, 1
jl 0x40976b
cmp word [eax + 2], 0x3a
jne 0x4096da
mov edi, dword [ebp - 0x1c]
lea eax, [ebp + 0xc]
push eax
mov ecx, edi
call fcn.004023e0
mov dword [ebp - 0x20], 1
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4096d8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x409738
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x4096fc
call fcn.0040d280
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
push dword [eax - 0xc]
push eax
call fcn.004021c0
jmp 0x409705
lea eax, [ebp + 0xc]
push eax
call fcn.00408560
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.004023e0
mov dword [ebp - 0x20], 1
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409738
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x409757
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004022e0
push 0x80004005
call fcn.004022e0
int3