Function at 0x40a740
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c946e
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x514080]
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.00402770
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.00402770
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 0x40ad94
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 0x40a8a7
call fcn.00404710
mov dword [ebp - 0x28], eax
test eax, eax
je 0x40aee3
mov ecx, dword [eax]
mov ebx, dword [ecx + 0xc]
mov ecx, ebx
call dword [0x4e1514]
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 0x40a86b
mov ebx, dword [edx]
push edx
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x4e1514]
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 0x40a893
mov edi, dword [esi]
push esi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
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.00404710
mov dword [ebp - 0x18], eax
test eax, eax
je 0x40aee3
cmp dword [ebp - 0x28], 0
jne 0x40a8d1
test edi, edi
jne 0x40aed9
mov eax, dword [eax]
push 2
push dword [ebp - 0x1c]
mov edi, dword [eax]
mov ecx, edi
call dword [0x4e1514]
mov ecx, dword [ebp - 0x18]
call edi
test eax, eax
je 0x40aed4
lea edi, [eax + 0x10]
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x1c]
test eax, eax
js 0x40aed9
cmp eax, dword [edi - 8]
jg 0x40aed9
mov dword [edi - 0xc], eax
xor ecx, ecx
add eax, eax
mov word [edi + eax], cx
test eax, eax
je 0x40a94b
test edi, edi
je 0x40a93b
mov ecx, dword [ebp - 0x28]
push eax
test ecx, ecx
je 0x40a930
push ecx
push edi
call fcn.004a2690
add esp, 0xc
jmp 0x40a94b
push 0
push edi
call fcn.004a2c10
add esp, 0xc
call fcn.004a609d
mov dword [eax], 0x16
call fcn.004a5f9f
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 0x40a9d3
lea ecx, [eax - 1]
test ecx, ecx
js 0x40aed9
cmp ecx, eax
jg 0x40aed9
movzx eax, word [edi + ecx*2]
cmp ax, dx
jne 0x40a9d3
push ecx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040af90
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x18]
push eax
call fcn.00409970
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 0x40a9cd
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x4e1514]
mov ecx, ebx
call edi
or ebx, 0xffffffff
mov edx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x18]
push edx
push edi
call fcn.004a222b
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x40aa36
sub ecx, edi
sar ecx, 1
js 0x40aa36
mov eax, dword [edi - 0xc]
sub eax, ecx
lea ecx, [ebp - 0x18]
dec eax
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004089c0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x10]
push eax
call fcn.00409970
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 0x40aa33
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, ebx
call esi
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x58]
cmp eax, 3
je 0x40aa5a
cmp eax, 4
je 0x40aa5a
cmp eax, 1
jne 0x40abc6
cmp dword [esi - 0xc], 0
jle 0x40abc6
push 0x3b
jmp 0x40aa66
cmp dword [esi - 0xc], 0
jle 0x40abc6
push 0x3f
push esi
call fcn.004a217c
add esp, 8
test eax, eax
je 0x40abc6
sub eax, esi
sar eax, 1
test eax, eax
jle 0x40aa9e
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040af90
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x10]
push eax
call fcn.00409970
jmp 0x40ab98
jne 0x40abc6
mov eax, dword [esi - 0xc]
lea ecx, [ebp - 0x10]
dec eax
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004089c0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x10]
push eax
call fcn.00409970
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 0x40aaed
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, ebx
call esi
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
jle 0x40abc6
push 0x26
push esi
call fcn.004a217c
add esp, 8
test eax, eax
je 0x40ab59
sub eax, esi
sar eax, 1
test eax, eax
jle 0x40ab59
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040af90
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x10]
push eax
call fcn.00409970
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 0x40ab56
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, ebx
call esi
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
jle 0x40abc6
push 0x3d
push esi
call fcn.004a217c
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x40abc6
sub ecx, esi
sar ecx, 1
test ecx, ecx
jle 0x40abc6
mov eax, dword [esi - 0xc]
sub eax, ecx
lea ecx, [ebp - 0x10]
dec eax
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004089c0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x10]
push eax
call fcn.00409970
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 0x40abc3
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, ebx
call esi
mov esi, dword [ebp - 0x10]
call fcn.00404710
mov dword [ebp - 0x28], eax
test eax, eax
je 0x40aee3
mov ecx, dword [eax]
mov ebx, dword [ecx + 0xc]
mov ecx, ebx
call dword [0x4e1514]
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 0x4ee0cc
call fcn.00403720
test al, al
jne 0x40ac12
push 9
push 0x4ee0cc
lea ecx, [ebp - 0x1c]
call fcn.004038b0
mov byte [ebp - 4], 0x17
xor ebx, ebx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jle 0x40ac4f
test ebx, ebx
js 0x40aed9
cmp ebx, ecx
jg 0x40aed9
movzx eax, word [eax + ebx*2]
lea ecx, [ebp - 0x10]
push 0x5f
push eax
call fcn.0040f950
mov eax, dword [ebp - 0x1c]
inc ebx
mov ecx, dword [eax - 0xc]
cmp ebx, ecx
jl 0x40ac22
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 0x40ac7b
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 [0x4e1514]
mov ecx, dword [ebp - 0x28]
call ebx
call fcn.00404710
mov dword [ebp - 0x28], eax
test eax, eax
je 0x40aee3
mov ecx, dword [eax]
mov ebx, dword [ecx + 0xc]
mov ecx, ebx
call dword [0x4e1514]
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.00403720
test al, al
jne 0x40acc7
push 4
push str..aiu
lea ecx, [ebp - 0x1c]
call fcn.004038b0
mov byte [ebp - 4], 0x1a
push 0x2e
push esi
call fcn.004a222b
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x40ad03
sub ecx, esi
sar ecx, 1
js 0x40ad03
mov eax, dword [esi - 0xc]
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.0040d5f0
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
push dword [eax - 0xc]
push eax
call fcn.004025d0
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
jle 0x40ad21
push 0x2e
push esi
call fcn.004a217c
add esp, 8
test eax, eax
je 0x40ad21
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x40ad33
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
push dword [eax - 0xc]
push eax
call fcn.004025d0
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 0x40ad67
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 [0x4e1514]
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 0x40ad91
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x4e1514]
mov ecx, ebx
call edi
or ebx, 0xffffffff
mov edi, dword [ebp - 0x14]
mov ecx, dword [esi - 0xc]
cmp ecx, 2
jb 0x40ae26
test ecx, ecx
js 0x40aed9
cmp word [esi], 0x5c
jne 0x40adc0
cmp ecx, 1
jl 0x40aed9
cmp word [esi + 2], 0x5c
jne 0x40adc9
jmp 0x40add0
cmp ecx, 1
jl 0x40aed9
cmp word [esi + 2], 0x3a
jne 0x40ae26
add esi, 0xfffffff0
mov ecx, esi
mov dword [ebp - 0x28], esi
call fcn.00402770
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 0x40ae1a
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x28]
mov dword [ebp - 4], 0
jmp 0x40aea1
cmp dword [edi - 0xc], 0
lea ecx, [ebp - 0x14]
je 0x40ae42
call fcn.0040ea90
push dword [esi - 0xc]
lea ecx, [ebp - 0x14]
push esi
call fcn.004025d0
jmp 0x40ae4b
lea eax, [ebp - 0x10]
push eax
call fcn.00409970
mov edi, dword [ebp - 0x14]
add edi, 0xfffffff0
mov ecx, edi
mov dword [ebp - 0x28], edi
call fcn.00402770
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 0x40ae97
mov ebx, dword [edi]
push dword [ebp - 0x28]
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x4e1514]
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 0x40aebf
mov edi, dword [esi]
push esi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
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.00402760
push 0x80070057
call fcn.00402740
push 0x80004005
call fcn.00402740
int3