Function at 0x40a730
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9d8e
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.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 0x40ad84
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 0x40a897
call fcn.004046f0
mov dword [ebp - 0x28], eax
test eax, eax
je 0x40aed3
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 0x40a85b
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 0x40a883
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.004046f0
mov dword [ebp - 0x18], eax
test eax, eax
je 0x40aed3
cmp dword [ebp - 0x28], 0
jne 0x40a8c1
test edi, edi
jne 0x40aec9
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 0x40aec4
lea edi, [eax + 0x10]
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x1c]
test eax, eax
js 0x40aec9
cmp eax, dword [edi - 8]
jg 0x40aec9
mov dword [edi - 0xc], eax
xor ecx, ecx
add eax, eax
mov word [edi + eax], cx
test eax, eax
je 0x40a93b
test edi, edi
je 0x40a92b
mov ecx, dword [ebp - 0x28]
push eax
test ecx, ecx
je 0x40a920
push ecx
push edi
call fcn.004a2fb0
add esp, 0xc
jmp 0x40a93b
push 0
push edi
call fcn.004a3530
add esp, 0xc
call fcn.004a69bd
mov dword [eax], 0x16
call fcn.004a68bf
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 0x40a9c3
lea ecx, [eax - 1]
test ecx, ecx
js 0x40aec9
cmp ecx, eax
jg 0x40aec9
movzx eax, word [edi + ecx*2]
cmp ax, dx
jne 0x40a9c3
push ecx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040af80
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x18]
push eax
call fcn.00409950
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 0x40a9bd
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.004a2b4b
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x40aa26
sub ecx, edi
sar ecx, 1
js 0x40aa26
mov eax, dword [edi - 0xc]
sub eax, ecx
lea ecx, [ebp - 0x18]
dec eax
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004089a0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x10]
push eax
call fcn.00409950
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 0x40aa23
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 0x40aa4a
cmp eax, 4
je 0x40aa4a
cmp eax, 1
jne 0x40abb6
cmp dword [esi - 0xc], 0
jle 0x40abb6
push 0x3b
jmp 0x40aa56
cmp dword [esi - 0xc], 0
jle 0x40abb6
push 0x3f
push esi
call fcn.004a2a9c
add esp, 8
test eax, eax
je 0x40abb6
sub eax, esi
sar eax, 1
test eax, eax
jle 0x40aa8e
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040af80
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x10]
push eax
call fcn.00409950
jmp 0x40ab88
jne 0x40abb6
mov eax, dword [esi - 0xc]
lea ecx, [ebp - 0x10]
dec eax
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004089a0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x10]
push eax
call fcn.00409950
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 0x40aadd
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 0x40abb6
push 0x26
push esi
call fcn.004a2a9c
add esp, 8
test eax, eax
je 0x40ab49
sub eax, esi
sar eax, 1
test eax, eax
jle 0x40ab49
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040af80
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x10]
push eax
call fcn.00409950
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 0x40ab46
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 0x40abb6
push 0x3d
push esi
call fcn.004a2a9c
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x40abb6
sub ecx, esi
sar ecx, 1
test ecx, ecx
jle 0x40abb6
mov eax, dword [esi - 0xc]
sub eax, ecx
lea ecx, [ebp - 0x10]
dec eax
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004089a0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x10]
push eax
call fcn.00409950
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 0x40abb3
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.004046f0
mov dword [ebp - 0x28], eax
test eax, eax
je 0x40aed3
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.00403700
test al, al
jne 0x40ac02
push 9
push 0x4ee0cc
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 0x40ac3f
test ebx, ebx
js 0x40aec9
cmp ebx, ecx
jg 0x40aec9
movzx eax, word [eax + ebx*2]
lea ecx, [ebp - 0x10]
push 0x5f
push eax
call fcn.0040f940
mov eax, dword [ebp - 0x1c]
inc ebx
mov ecx, dword [eax - 0xc]
cmp ebx, ecx
jl 0x40ac12
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 0x40ac6b
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.004046f0
mov dword [ebp - 0x28], eax
test eax, eax
je 0x40aed3
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.00403700
test al, al
jne 0x40acb7
push 4
push str..aiu
lea ecx, [ebp - 0x1c]
call fcn.00403890
mov byte [ebp - 4], 0x1a
push 0x2e
push esi
call fcn.004a2b4b
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x40acf3
sub ecx, esi
sar ecx, 1
js 0x40acf3
mov eax, dword [esi - 0xc]
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.0040d5e0
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 0x40ad11
push 0x2e
push esi
call fcn.004a2a9c
add esp, 8
test eax, eax
je 0x40ad11
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x40ad23
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 0x40ad57
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 0x40ad81
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 0x40ae16
test ecx, ecx
js 0x40aec9
cmp word [esi], 0x5c
jne 0x40adb0
cmp ecx, 1
jl 0x40aec9
cmp word [esi + 2], 0x5c
jne 0x40adb9
jmp 0x40adc0
cmp ecx, 1
jl 0x40aec9
cmp word [esi + 2], 0x3a
jne 0x40ae16
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 0x40ae0a
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 0x40ae91
cmp dword [edi - 0xc], 0
lea ecx, [ebp - 0x14]
je 0x40ae32
call fcn.0040ea80
push dword [esi - 0xc]
lea ecx, [ebp - 0x14]
push esi
call fcn.004025b0
jmp 0x40ae3b
lea eax, [ebp - 0x10]
push eax
call fcn.00409950
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 0x40ae87
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 0x40aeaf
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.00402740
push 0x80070057
call fcn.00402720
push 0x80004005
call fcn.00402720
int3