Function at 0x40a960
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca63e
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x515080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], ecx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x24], 0
mov ecx, dword [ebx]
sub ecx, 0x10
call fcn.00402750
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 2
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.00402750
lea edi, [eax + 0x10]
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 4
mov eax, dword [ebx]
or ebx, 0xffffffff
cmp dword [eax - 0xc], 0
jne 0x40afb4
lea eax, [ebp - 0x64]
mov dword [ebp - 0x38], 0
push eax
mov eax, dword [ebp - 0x28]
xorps xmm0, xmm0
push 0
push 0
movlpd qword [ebp - 0x60], xmm0
push dword [eax]
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x34], 0x104
mov dword [ebp - 0x64], 0x3c
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x40aac7
call fcn.004046f0
mov dword [ebp - 0x28], eax
test eax, eax
je 0x40b103
mov ecx, dword [eax]
mov ebx, dword [ecx + 0xc]
mov ecx, ebx
call dword [0x4e2514]
mov ecx, dword [ebp - 0x28]
call ebx
mov ebx, dword [ebp - 0x20]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x24], 1
mov byte [ebp - 4], 2
or ecx, 0xffffffff
lea edx, [edi - 0x10]
mov eax, ecx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40aa8b
mov ebx, dword [edx]
push edx
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x4e2514]
mov ecx, ebx
call edi
mov ebx, dword [ebp - 0x20]
or ecx, 0xffffffff
mov dword [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x40aab3
mov edi, dword [esi]
push esi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
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 - 0x34]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x28], eax
call fcn.004046f0
mov dword [ebp - 0x18], eax
test eax, eax
je 0x40b103
cmp dword [ebp - 0x28], 0
jne 0x40aaf1
test edi, edi
jne 0x40b0f9
mov eax, dword [eax]
push 2
push dword [ebp - 0x1c]
mov edi, dword [eax]
mov ecx, edi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x18]
call edi
test eax, eax
je 0x40b0f4
lea edi, [eax + 0x10]
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x1c]
test eax, eax
js 0x40b0f9
cmp eax, dword [edi - 8]
jg 0x40b0f9
mov dword [edi - 0xc], eax
xor ecx, ecx
add eax, eax
mov word [edi + eax], cx
test eax, eax
je 0x40ab6b
test edi, edi
je 0x40ab5b
mov ecx, dword [ebp - 0x28]
push eax
test ecx, ecx
je 0x40ab50
push ecx
push edi
call fcn.004a3750
add esp, 0xc
jmp 0x40ab6b
push 0
push edi
call fcn.004a3cd0
add esp, 0xc
call fcn.004a715d
mov dword [eax], 0x16
call fcn.004a705f
mov byte [ebp - 4], 9
mov edx, 0x2f
cmp dword [ebp - 0x58], 5
mov ecx, 0x5c
mov eax, dword [edi - 0xc]
cmove edx, ecx
mov dword [ebp - 0x28], edx
test eax, eax
jle 0x40abf3
lea ecx, [eax - 1]
test ecx, ecx
js 0x40b0f9
cmp ecx, eax
jg 0x40b0f9
movzx eax, word [edi + ecx*2]
cmp ax, dx
jne 0x40abf3
push ecx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040b1b0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x18]
push eax
call fcn.00409b90
mov byte [ebp - 4], 9
mov eax, ebx
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x40abed
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x4e2514]
mov ecx, ebx
call edi
or ebx, 0xffffffff
mov edx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x18]
push edx
push edi
call fcn.004a32eb
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x40ac56
sub ecx, edi
sar ecx, 1
js 0x40ac56
mov eax, dword [edi - 0xc]
sub eax, ecx
lea ecx, [ebp - 0x18]
dec eax
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00408bd0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x10]
push eax
call fcn.00409b90
mov byte [ebp - 4], 9
mov eax, ebx
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x40ac53
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, ebx
call esi
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x58]
cmp eax, 3
je 0x40ac7a
cmp eax, 4
je 0x40ac7a
cmp eax, 1
jne 0x40ade6
cmp dword [esi - 0xc], 0
jle 0x40ade6
push 0x3b
jmp 0x40ac86
cmp dword [esi - 0xc], 0
jle 0x40ade6
push 0x3f
push esi
call fcn.004a323c
add esp, 8
test eax, eax
je 0x40ade6
sub eax, esi
sar eax, 1
test eax, eax
jle 0x40acbe
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040b1b0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x10]
push eax
call fcn.00409b90
jmp 0x40adb8
jne 0x40ade6
mov eax, dword [esi - 0xc]
lea ecx, [ebp - 0x10]
dec eax
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00408bd0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x10]
push eax
call fcn.00409b90
mov byte [ebp - 4], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x40ad0d
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, ebx
call esi
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
jle 0x40ade6
push 0x26
push esi
call fcn.004a323c
add esp, 8
test eax, eax
je 0x40ad79
sub eax, esi
sar eax, 1
test eax, eax
jle 0x40ad79
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040b1b0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x10]
push eax
call fcn.00409b90
mov byte [ebp - 4], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x40ad76
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, ebx
call esi
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
jle 0x40ade6
push 0x3d
push esi
call fcn.004a323c
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x40ade6
sub ecx, esi
sar ecx, 1
test ecx, ecx
jle 0x40ade6
mov eax, dword [esi - 0xc]
sub eax, ecx
lea ecx, [ebp - 0x10]
dec eax
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00408bd0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x10]
push eax
call fcn.00409b90
mov byte [ebp - 4], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x40ade3
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, ebx
call esi
mov esi, dword [ebp - 0x10]
call fcn.004046f0
mov dword [ebp - 0x28], eax
test eax, eax
je 0x40b103
mov ecx, dword [eax]
mov ebx, dword [ecx + 0xc]
mov ecx, ebx
call dword [0x4e2514]
mov ecx, dword [ebp - 0x28]
call ebx
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x1c]
push 0x4ef0dc
call fcn.00403700
test al, al
jne 0x40ae32
push 9
push 0x4ef0dc
lea ecx, [ebp - 0x1c]
call fcn.00403890
mov byte [ebp - 4], 0x17
xor ebx, ebx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jle 0x40ae6f
test ebx, ebx
js 0x40b0f9
cmp ebx, ecx
jg 0x40b0f9
movzx eax, word [eax + ebx*2]
lea ecx, [ebp - 0x10]
push 0x5f
push eax
call fcn.0040fb70
mov eax, dword [ebp - 0x1c]
inc ebx
mov ecx, dword [eax - 0xc]
cmp ebx, ecx
jl 0x40ae42
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 9
lea ecx, [eax - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x40ae9b
mov eax, dword [ecx]
mov dword [ebp - 0x28], eax
push ecx
mov eax, dword [eax]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x4e2514]
mov ecx, dword [ebp - 0x28]
call ebx
call fcn.004046f0
mov dword [ebp - 0x28], eax
test eax, eax
je 0x40b103
mov ecx, dword [eax]
mov ebx, dword [ecx + 0xc]
mov ecx, ebx
call dword [0x4e2514]
mov ecx, dword [ebp - 0x28]
call ebx
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x1c]
push str..aiu
call fcn.00403700
test al, al
jne 0x40aee7
push 4
push str..aiu
lea ecx, [ebp - 0x1c]
call fcn.00403890
mov byte [ebp - 4], 0x1a
push 0x2e
push esi
call fcn.004a32eb
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x40af23
sub ecx, esi
sar ecx, 1
js 0x40af23
mov eax, dword [esi - 0xc]
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.0040d810
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
push dword [eax - 0xc]
push eax
call fcn.004025b0
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
jle 0x40af41
push 0x2e
push esi
call fcn.004a323c
add esp, 8
test eax, eax
je 0x40af41
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x40af53
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
push dword [eax - 0xc]
push eax
call fcn.004025b0
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 9
or ebx, 0xffffffff
mov ecx, dword [ebp - 0x1c]
mov eax, ebx
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x40af87
mov eax, dword [ecx]
mov dword [ebp - 0x28], eax
push ecx
mov eax, dword [eax]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x4e2514]
mov ecx, dword [ebp - 0x28]
call ebx
or ebx, 0xffffffff
mov byte [ebp - 4], 4
lea ecx, [edi - 0x10]
mov eax, ebx
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x40afb1
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x4e2514]
mov ecx, ebx
call edi
or ebx, 0xffffffff
mov edi, dword [ebp - 0x14]
mov ecx, dword [esi - 0xc]
cmp ecx, 2
jb 0x40b046
test ecx, ecx
js 0x40b0f9
cmp word [esi], 0x5c
jne 0x40afe0
cmp ecx, 1
jl 0x40b0f9
cmp word [esi + 2], 0x5c
jne 0x40afe9
jmp 0x40aff0
cmp ecx, 1
jl 0x40b0f9
cmp word [esi + 2], 0x3a
jne 0x40b046
add esi, 0xfffffff0
mov ecx, esi
mov dword [ebp - 0x28], esi
call fcn.00402750
mov ecx, dword [ebp - 0x20]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x24], 1
mov byte [ebp - 4], 2
lea ecx, [edi - 0x10]
mov eax, ebx
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x40b03a
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x28]
mov dword [ebp - 4], 0
jmp 0x40b0c1
cmp dword [edi - 0xc], 0
lea ecx, [ebp - 0x14]
je 0x40b062
call fcn.0040ecb0
push dword [esi - 0xc]
lea ecx, [ebp - 0x14]
push esi
call fcn.004025b0
jmp 0x40b06b
lea eax, [ebp - 0x10]
push eax
call fcn.00409b90
mov edi, dword [ebp - 0x14]
add edi, 0xfffffff0
mov ecx, edi
mov dword [ebp - 0x28], edi
call fcn.00402750
mov ecx, dword [ebp - 0x20]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x24], 1
mov byte [ebp - 4], 2
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x40b0b7
mov ebx, dword [edi]
push dword [ebp - 0x28]
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x4e2514]
mov ecx, ebx
call edi
or ebx, 0xffffffff
mov dword [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x40b0df
mov edi, dword [esi]
push esi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x20]
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.00402740
push 0x80070057
call fcn.00402720
push 0x80004005
call fcn.00402720
int3