Function at 0x408bf0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49685e
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x4da064]
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.00402250
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x10]
push dword [ebp + 8]
call fcn.00402250
mov byte [ebp - 4], 2
or ebx, 0xffffffff
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x4090ca
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 0x408d00
call fcn.004039e0
test eax, eax
je 0x4091d5
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 0x408ce6
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 0x4091ad
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
call fcn.004039e0
push eax
push esi
push edi
lea ecx, [ebp - 0x14]
call fcn.00407300
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 0x408d8c
lea ecx, [eax - 1]
test ecx, ecx
js 0x4091cb
cmp ecx, eax
jg 0x4091cb
movzx eax, word [edi + ecx*2]
cmp ax, si
jne 0x408d8c
push ecx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.00409290
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x14]
push eax
call fcn.00407fe0
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 0x408d89
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.0047787d
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x408de0
sub ecx, edi
sar ecx, 1
js 0x408de0
mov eax, dword [edi - 0xc]
sub eax, ecx
lea ecx, [ebp - 0x14]
dec eax
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00407260
mov byte [ebp - 4], 0xa
lea ecx, [ebp + 0xc]
push eax
call fcn.00407fe0
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 0x408de0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x50]
cmp eax, 3
je 0x408e07
cmp eax, 4
je 0x408e07
cmp eax, 1
jne 0x408f57
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
jle 0x408f57
push 0x3b
jmp 0x408e16
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
jle 0x408f57
push 0x3f
push eax
call fcn.004777b6
add esp, 8
test eax, eax
je 0x408f57
mov ecx, dword [ebp + 0xc]
sub eax, ecx
sar eax, 1
test eax, eax
jle 0x408e51
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 0xc]
call fcn.00409290
mov byte [ebp - 4], 0xc
lea ecx, [ebp + 0xc]
push eax
call fcn.00407fe0
jmp 0x408f39
jne 0x408f57
mov eax, dword [ecx - 0xc]
lea ecx, [ebp + 0xc]
dec eax
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00407260
mov byte [ebp - 4], 0xe
lea ecx, [ebp + 0xc]
push eax
call fcn.00407fe0
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 0x408e93
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 0x408f57
push 0x26
push eax
call fcn.004777b6
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x408ef4
mov eax, dword [ebp + 0xc]
sub ecx, eax
sar ecx, 1
test ecx, ecx
jle 0x408ef7
push ecx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 0xc]
call fcn.00409290
mov byte [ebp - 4], 0x10
lea ecx, [ebp + 0xc]
push eax
call fcn.00407fe0
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 0x408ef4
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 0x408f57
push 0x3d
push eax
call fcn.004777b6
mov edx, eax
add esp, 8
test edx, edx
je 0x408f57
mov ecx, dword [ebp + 0xc]
sub edx, ecx
sar edx, 1
test edx, edx
jle 0x408f57
mov eax, dword [ecx - 0xc]
lea ecx, [ebp + 0xc]
sub eax, edx
dec eax
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00407260
mov byte [ebp - 4], 0x12
lea ecx, [ebp + 0xc]
push eax
call fcn.00407fe0
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 0x408f57
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.004039e0
test eax, eax
je 0x4091d5
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 0x4bb6a4
call fcn.00406f20
test al, al
jne 0x408f95
push 9
push 0x4bb6a4
lea ecx, [ebp - 0x18]
call fcn.00407090
mov byte [ebp - 4], 0x15
xor ebx, ebx
mov esi, dword [ebp - 0x18]
mov eax, dword [esi - 0xc]
test eax, eax
jle 0x408fcc
test ebx, ebx
js 0x4091cb
cmp ebx, eax
jg 0x4091cb
movzx eax, word [esi + ebx*2]
lea ecx, [ebp + 0xc]
push 0x5f
push eax
call fcn.0040d790
mov eax, dword [esi - 0xc]
inc ebx
cmp ebx, eax
jl 0x408fa5
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 0x408fea
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.004039e0
test eax, eax
je 0x4091d5
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.00406f20
test al, al
jne 0x409028
push 4
push str..aiu
lea ecx, [ebp - 0x18]
call fcn.00407090
mov byte [ebp - 4], 0x18
push 0x2e
push dword [ebp + 0xc]
call fcn.0047787d
mov esi, dword [ebp - 0x18]
mov edx, eax
mov ecx, dword [ebp + 0xc]
add esp, 8
test edx, edx
je 0x409069
sub edx, ecx
sar edx, 1
js 0x409069
mov eax, dword [ecx - 0xc]
lea ecx, [ebp + 0xc]
sub eax, edx
push eax
push edx
call fcn.0040b7e0
push dword [esi - 0xc]
lea ecx, [ebp + 0xc]
push esi
call fcn.00402030
mov ecx, dword [ebp + 0xc]
cmp dword [ecx - 0xc], 0
jle 0x409088
push 0x2e
push ecx
call fcn.004777b6
add esp, 8
test eax, eax
je 0x409088
sub eax, dword [ebp + 0xc]
sar eax, 1
cmp eax, 0xffffffff
jne 0x409094
push dword [esi - 0xc]
lea ecx, [ebp + 0xc]
push esi
call fcn.00402030
mov byte [ebp - 4], 7
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4090af
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 0x4090ca
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 0x40913a
test edx, edx
js 0x4091cb
cmp word [eax], 0x5c
jne 0x4090f5
cmp edx, 1
jl 0x4091cb
cmp word [eax + 2], 0x5c
jne 0x4090fe
jmp 0x409105
cmp edx, 1
jl 0x4091cb
cmp word [eax + 2], 0x3a
jne 0x40913a
mov edi, dword [ebp - 0x1c]
lea eax, [ebp + 0xc]
push eax
mov ecx, edi
call fcn.00402250
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 0x409138
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x409198
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x40915c
call fcn.0040ca90
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
push dword [eax - 0xc]
push eax
call fcn.00402030
jmp 0x409165
lea eax, [ebp + 0xc]
push eax
call fcn.00407fe0
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.00402250
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 0x409198
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 0x4091b7
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.00402150
push 0x80004005
call fcn.00402150
int3