Function at 0x40a1d0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bfe7e
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x50a074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebx]
sub ecx, 0x10
call fcn.004025a0
lea esi, [eax + 0x10]
mov dword [ebp + 0xc], esi
mov dword [ebp - 4], 2
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.004025a0
lea edi, [eax + 0x10]
mov dword [ebp + 8], edi
mov byte [ebp - 4], 4
mov eax, dword [ebx]
or ebx, 0xffffffff
cmp dword [eax - 0xc], 0
jne 0x40a753
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x30], 0
push eax
mov eax, dword [ebp - 0x14]
xorps xmm0, xmm0
push 0
push 0
movlpd qword [ebp - 0x58], xmm0
push dword [eax]
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 - 0x2c], 0x104
mov dword [ebp - 0x5c], 0x3c
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x40a307
call fcn.004043d0
test eax, eax
je 0x40a869
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
mov ebx, dword [ebp - 0x18]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 2
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a2d7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x40a2f3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x14], eax
call fcn.004043d0
mov ecx, eax
test ecx, ecx
je 0x40a869
cmp dword [ebp - 0x14], 0
jne 0x40a330
test edi, edi
jne 0x40a85f
mov eax, dword [ecx]
push 2
push edi
call dword [eax]
test eax, eax
je 0x40a85a
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0x20]
test eax, eax
js 0x40a85f
cmp eax, dword [edi - 8]
jg 0x40a85f
mov dword [edi - 0xc], eax
xor ecx, ecx
add eax, eax
mov word [edi + eax], cx
test eax, eax
je 0x40a39b
test edi, edi
je 0x40a38b
mov ecx, dword [ebp - 0x14]
push eax
test ecx, ecx
je 0x40a380
push ecx
push edi
call fcn.00498ed0
add esp, 0xc
jmp 0x40a39b
push 0
push edi
call fcn.00499450
add esp, 0xc
call fcn.0049c8ad
mov dword [eax], 0x16
call fcn.0049c7af
mov byte [ebp - 4], 9
mov edx, 0x2f
cmp dword [ebp - 0x50], 5
mov ecx, 0x5c
mov eax, dword [edi - 0xc]
cmove edx, ecx
mov dword [ebp - 0x14], edx
test eax, eax
jle 0x40a414
lea ecx, [eax - 1]
test ecx, ecx
js 0x40a85f
cmp ecx, eax
jg 0x40a85f
movzx eax, word [edi + ecx*2]
cmp ax, dx
jne 0x40a414
push ecx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040a920
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x10]
push eax
call fcn.00409490
mov byte [ebp - 4], 9
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a40e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
push edx
push edi
call fcn.00498a73
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x40a46b
sub ecx, edi
sar ecx, 1
js 0x40a46b
mov eax, dword [edi - 0xc]
sub eax, ecx
lea ecx, [ebp - 0x10]
dec eax
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004085e0
mov byte [ebp - 4], 0xc
lea ecx, [ebp + 0xc]
push eax
call fcn.00409490
mov byte [ebp - 4], 9
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a468
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x50]
cmp eax, 3
je 0x40a48f
cmp eax, 4
je 0x40a48f
cmp eax, 1
jne 0x40a5d4
cmp dword [esi - 0xc], 0
jle 0x40a5d4
push 0x3b
jmp 0x40a49b
cmp dword [esi - 0xc], 0
jle 0x40a5d4
push 0x3f
push esi
call fcn.004989c3
add esp, 8
test eax, eax
je 0x40a5d4
sub eax, esi
sar eax, 1
test eax, eax
jle 0x40a4d3
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 0xc]
call fcn.0040a920
mov byte [ebp - 4], 0xe
lea ecx, [ebp + 0xc]
push eax
call fcn.00409490
jmp 0x40a5b3
jne 0x40a5d4
mov eax, dword [esi - 0xc]
lea ecx, [ebp + 0xc]
dec eax
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004085e0
mov byte [ebp - 4], 0x10
lea ecx, [ebp + 0xc]
push eax
call fcn.00409490
mov byte [ebp - 4], 9
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a515
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
cmp dword [esi - 0xc], 0
jle 0x40a5d4
push 0x26
push esi
call fcn.004989c3
add esp, 8
test eax, eax
je 0x40a574
sub eax, esi
sar eax, 1
test eax, eax
jle 0x40a574
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 0xc]
call fcn.0040a920
mov byte [ebp - 4], 0x12
lea ecx, [ebp + 0xc]
push eax
call fcn.00409490
mov byte [ebp - 4], 9
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a571
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
cmp dword [esi - 0xc], 0
jle 0x40a5d4
push 0x3d
push esi
call fcn.004989c3
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x40a5d4
sub ecx, esi
sar ecx, 1
test ecx, ecx
jle 0x40a5d4
mov eax, dword [esi - 0xc]
sub eax, ecx
lea ecx, [ebp + 0xc]
dec eax
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004085e0
mov byte [ebp - 4], 0x14
lea ecx, [ebp + 0xc]
push eax
call fcn.00409490
mov byte [ebp - 4], 9
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a5d1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
call fcn.004043d0
test eax, eax
je 0x40a869
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x14]
push 0x4e6dc4
call fcn.00403470
test al, al
jne 0x40a612
push 9
push 0x4e6dc4
lea ecx, [ebp - 0x14]
call fcn.004035e0
mov byte [ebp - 4], 0x17
xor ebx, ebx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jle 0x40a64f
test ebx, ebx
js 0x40a85f
cmp ebx, ecx
jg 0x40a85f
movzx eax, word [eax + ebx*2]
lea ecx, [ebp + 0xc]
push 0x5f
push eax
call fcn.0040f2a0
mov eax, dword [ebp - 0x14]
inc ebx
mov ecx, dword [eax - 0xc]
cmp ebx, ecx
jl 0x40a622
mov esi, dword [ebp + 0xc]
mov byte [ebp - 4], 9
or ebx, 0xffffffff
lea edx, [eax - 0x10]
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a66d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.004043d0
test eax, eax
je 0x40a869
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x14]
push str..aiu
call fcn.00403470
test al, al
jne 0x40a6ab
push 4
push str..aiu
lea ecx, [ebp - 0x14]
call fcn.004035e0
mov byte [ebp - 4], 0x1a
push 0x2e
push esi
call fcn.00498a73
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x40a6e7
sub ecx, esi
sar ecx, 1
js 0x40a6e7
mov eax, dword [esi - 0xc]
sub eax, ecx
push eax
push ecx
lea ecx, [ebp + 0xc]
call fcn.0040d130
mov eax, dword [ebp - 0x14]
lea ecx, [ebp + 0xc]
push dword [eax - 0xc]
push eax
call fcn.00402420
mov esi, dword [ebp + 0xc]
cmp dword [esi - 0xc], 0
jle 0x40a705
push 0x2e
push esi
call fcn.004989c3
add esp, 8
test eax, eax
je 0x40a705
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x40a717
mov eax, dword [ebp - 0x14]
lea ecx, [ebp + 0xc]
push dword [eax - 0xc]
push eax
call fcn.00402420
mov esi, dword [ebp + 0xc]
mov byte [ebp - 4], 9
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a735
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x40a750
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp + 8]
mov ecx, dword [esi - 0xc]
cmp ecx, 2
jb 0x40a7cc
test ecx, ecx
js 0x40a85f
cmp word [esi], 0x5c
jne 0x40a77b
cmp ecx, 1
jl 0x40a85f
cmp word [esi + 2], 0x5c
jne 0x40a784
jmp 0x40a78b
cmp ecx, 1
jl 0x40a85f
cmp word [esi + 2], 0x3a
jne 0x40a7cc
add esi, 0xfffffff0
mov ecx, esi
call fcn.004025a0
mov ecx, dword [ebp - 0x18]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x40a7c3
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0
jmp 0x40a833
cmp dword [edi - 0xc], 0
lea ecx, [ebp + 8]
je 0x40a7e8
call fcn.0040e540
push dword [esi - 0xc]
lea ecx, [ebp + 8]
push esi
call fcn.00402420
jmp 0x40a7f1
lea eax, [ebp + 0xc]
push eax
call fcn.00409490
mov edi, dword [ebp + 8]
add edi, 0xfffffff0
mov ecx, edi
call fcn.004025a0
mov ecx, dword [ebp - 0x18]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 2
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x40a829
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x40a845
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00402590
push 0x80070057
call fcn.00402570
push 0x80004005
call fcn.00402570
int3