Function at 0x40e544
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xb54
mov eax, 0x4ad9b1
call fcn.0048f423
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
lea ecx, [ebp - 0xb2c]
call fcn.0042f326
mov eax, dword [0x507340]
imul eax, eax
push 0x16
cdq
pop ecx
idiv ecx
mov dword [ebp - 4], ebx
cmp edx, 2
jne 0x40e593
xor esi, esi
xor eax, eax
push 0x51
inc esi
inc eax
pop edx
dec edx
lea ecx, [eax + esi]
lea esi, [eax]
mov eax, ecx
jns 0x40e583
mov dword [0x507340], ecx
mov dword [ebp - 0xb0c], ebx
mov dword [ebp - 0xb08], ebx
mov dword [ebp - 0xb04], ebx
mov esi, 0x505ab0
push esi
lea ecx, [ebp - 0xb00]
mov byte [ebp - 4], 1
call fcn.00408fd9
lea eax, [ebp - 0xb00]
push eax
lea eax, [ebp - 0xb0c]
push eax
mov byte [ebp - 4], 2
call fcn.00429264
pop ecx
pop ecx
test al, al
jne 0x40e6a0
push esi
lea ecx, [ebp - 0xafc]
call fcn.00408fd9
mov eax, dword [ebp - 0xafc]
mov ecx, 0x4c1ab0
cmp dword [eax - 0xc], 0
mov byte [ebp - 4], 3
cmovne ecx, eax
push ecx
lea eax, [ebp - 0xafc]
push 0x4c1ed0
push eax
call fcn.00405092
lea eax, [ebp - 0xafc]
push eax
lea eax, [ebp - 0xac0]
push eax
call fcn.00438012
add esp, 0x14
push eax
lea ecx, [ebp - 0xb1c]
mov byte [ebp - 4], 4
call fcn.0042f275
lea eax, [ebp - 0xb1c]
push eax
push 0x4c0c00
lea ecx, [ebp - 0xb2c]
mov byte [ebp - 4], 5
call fcn.0042f5f2
mov ecx, eax
call fcn.0042f4ab
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb1c]
call fcn.0042f451
lea ecx, [ebp - 0xac0]
call fcn.00401056
mov ecx, dword [ebp - 0xafc]
lea ecx, [ecx - 0x10]
call fcn.00407864
mov ecx, dword [ebp - 0xb00]
lea ecx, [ecx - 0x10]
call fcn.00407864
lea ecx, [ebp - 0xb0c]
mov byte [ebp - 4], bl
call fcn.00409cc8
jmp 0x40e9f3
mov eax, dword [ebp - 0xb08]
sub eax, dword [ebp - 0xb0c]
sar eax, 4
test eax, eax
jne 0x40e725
push esi
lea ecx, [ebp - 0xafc]
call fcn.00408fd9
lea eax, [ebp - 0xafc]
push str.enumscheduleTasks_error_EnumScheduledTasks_no_task_retrive
push eax
mov byte [ebp - 4], 6
call fcn.00405092
lea eax, [ebp - 0xafc]
push eax
lea eax, [ebp - 0xac0]
push eax
call fcn.00438012
add esp, 0x10
push eax
lea ecx, [ebp - 0xb1c]
mov byte [ebp - 4], 7
call fcn.0042f275
lea eax, [ebp - 0xb1c]
push eax
push 0x4c0c00
lea ecx, [ebp - 0xb2c]
mov byte [ebp - 4], 8
call fcn.0042f5f2
mov ecx, eax
call fcn.0042f4ab
mov byte [ebp - 4], 7
jmp 0x40e65b
xor esi, esi
push 0
lea ecx, [ebp - 0xb1c]
call fcn.0042f326
mov eax, dword [ebp - 0xb0c]
add eax, esi
push eax
lea eax, [ebp - 0xad8]
push eax
mov byte [ebp - 4], 9
call fcn.00438012
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0xb40]
mov byte [ebp - 4], 0xa
call fcn.0042f275
push 0xb
pop eax
mov byte [ebp - 4], al
lea eax, [ebp - 0xb40]
push eax
push 0x4c102c
lea ecx, [ebp - 0xb1c]
call fcn.0042f5f2
mov ecx, eax
call fcn.0042f4ab
lea ecx, [ebp - 0xb40]
mov byte [ebp - 4], 0xa
call fcn.0042f451
lea ecx, [ebp - 0xad8]
mov byte [ebp - 4], 9
call fcn.00401056
mov eax, dword [ebp - 0xb0c]
add eax, 0xc
add eax, esi
push eax
lea eax, [ebp - 0xad8]
push eax
call fcn.00438012
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0xb60]
mov byte [ebp - 4], 0xc
call fcn.0042f275
lea eax, [ebp - 0xb60]
push eax
push str.commandLine
lea ecx, [ebp - 0xb1c]
mov byte [ebp - 4], 0xd
call fcn.0042f5f2
mov ecx, eax
call fcn.0042f4ab
lea ecx, [ebp - 0xb60]
mov byte [ebp - 4], 0xc
call fcn.0042f451
lea ecx, [ebp - 0xad8]
mov byte [ebp - 4], 9
call fcn.00401056
mov eax, dword [ebp - 0xb0c]
add eax, 8
add eax, esi
push eax
lea eax, [ebp - 0xad8]
push eax
call fcn.00438012
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0xb50]
mov byte [ebp - 4], 0xe
call fcn.0042f275
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0xb50]
push eax
push str.path
lea ecx, [ebp - 0xb1c]
call fcn.0042f5f2
mov ecx, eax
call fcn.0042f4ab
lea ecx, [ebp - 0xb50]
mov byte [ebp - 4], 0xe
call fcn.0042f451
lea ecx, [ebp - 0xad8]
mov byte [ebp - 4], 9
call fcn.00401056
mov eax, dword [ebp - 0xb0c]
add eax, 4
add eax, esi
push eax
lea eax, [ebp - 0xad8]
push eax
call fcn.00438012
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0xab8]
mov byte [ebp - 4], 0x10
call fcn.0042f275
lea eax, [ebp - 0xab8]
push eax
push str.account
lea ecx, [ebp - 0xb1c]
mov byte [ebp - 4], 0x11
call fcn.0042f5f2
mov ecx, eax
call fcn.0042f4ab
lea ecx, [ebp - 0xab8]
mov byte [ebp - 4], 0x10
call fcn.0042f451
lea ecx, [ebp - 0xad8]
mov byte [ebp - 4], 9
call fcn.00401056
lea eax, [ebp - 0xb1c]
push eax
lea ecx, [ebp - 0xb2c]
call fcn.0042fa35
lea ecx, [ebp - 0xb1c]
mov byte [ebp - 4], 2
call fcn.0042f451
mov eax, dword [ebp - 0xb08]
sub eax, dword [ebp - 0xb0c]
inc ebx
sar eax, 4
add esi, 0x10
cmp ebx, eax
jb 0x40e727
lea ecx, [ebp - 0xb2c]
call fcn.0042fe3a
test al, al
je 0x40e96b
push str.empty
lea ecx, [ebp - 0xab8]
call fcn.0042f2f7
lea eax, [ebp - 0xab8]
push eax
push 0x4c0c00
lea ecx, [ebp - 0xb2c]
mov byte [ebp - 4], 0x12
call fcn.0042f5f2
mov ecx, eax
call fcn.0042f4ab
lea ecx, [ebp - 0xab8]
mov byte [ebp - 4], 2
call fcn.0042f451
call fcn.004111cd
xor ebx, ebx
test al, al
jne 0x40e9d2
mov esi, ebx
call fcn.0048f9e0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
inc esi
movsd qword [ebp + esi*8 - 0x348], xmm0
cmp esi, 0x66
jb 0x40e978
mov ecx, ebx
push 0x65
pop eax
cmp ecx, eax
jge 0x40e9cc
movsd xmm0, qword [ebp + eax*8 - 0x340]
movsd xmm1, qword [ebp + eax*8 - 0x348]
comisd xmm0, xmm1
jbe 0x40e9c7
movsd qword [ebp + eax*8 - 0x340], xmm1
movsd qword [ebp + eax*8 - 0x348], xmm0
dec eax
cmp eax, ecx
jg 0x40e99d
inc ecx
cmp ecx, 0x66
jl 0x40e996
mov ecx, dword [ebp - 0xb00]
lea ecx, [ecx - 0x10]
call fcn.00407864
lea ecx, [ebp - 0xb0c]
mov byte [ebp - 4], bl
call fcn.00409cc8
mov esi, 0x505ab0
lea ecx, [ebp - 0xaf8]
call fcn.00430a82
push esi
lea ecx, [ebp - 0xafc]
mov byte [ebp - 4], 0x13
call fcn.00408fd9
lea eax, [ebp - 0xb2c]
push eax
lea eax, [ebp - 0xad8]
push eax
lea ecx, [ebp - 0xaf8]
mov byte [ebp - 4], 0x14
call fcn.00432bf9
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x15
jb 0x40ea37
mov eax, dword [eax]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401027
lea eax, [ebp - 0xb00]
push eax
call fcn.00437fc7
add esp, 0x1c
push eax
lea ecx, [ebp - 0xafc]
mov byte [ebp - 4], 0x16
call fcn.00402394
mov ecx, dword [ebp - 0xb00]
lea ecx, [ecx - 0x10]
call fcn.00407864
lea ecx, [ebp - 0xad8]
mov byte [ebp - 4], 0x14
call fcn.00401056
push 8
pop eax
mov word [edi], ax
mov ecx, dword [0x507340]
push 0xb
lea eax, [ecx + 1]
imul eax, ecx
cdq
pop esi
idiv esi
cmp edx, 3
jne 0x40eace
mov esi, ebx
mov dword [ebp - 0xb00], 0x42
jmp 0x40eaba
mov eax, ecx
or eax, 0xfffffff1
add ecx, eax
mov eax, ecx
imul eax, ecx
inc esi
cmp esi, eax
jg 0x40eac8
mov eax, ecx
cdq
idiv dword [ebp - 0xb00]
cmp edx, 0x1c
jne 0x40eaa9
mov dword [0x507340], esi
mov esi, dword [ebp - 0xafc]
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x40eae7
call fcn.00409bd9
mov dword [edi + 8], eax
call fcn.004113ad
test al, al
jne 0x40eb54
mov edi, ebx
call fcn.0048f9e0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
inc edi
movsd qword [ebp + edi*8 - 0xab0], xmm0
mov edx, 0xed
cmp edi, edx
jb 0x40eaf5
mov ecx, ebx
lea edi, [edx - 1]
mov eax, edi
cmp ecx, edi
jge 0x40eb4f
movsd xmm0, qword [ebp + eax*8 - 0xaa8]
movsd xmm1, qword [ebp + eax*8 - 0xab0]
comisd xmm0, xmm1
jbe 0x40eb4a
movsd qword [ebp + eax*8 - 0xaa8], xmm1
movsd qword [ebp + eax*8 - 0xab0], xmm0
dec eax
cmp eax, ecx
jg 0x40eb20
inc ecx
cmp ecx, edx
jl 0x40eb1a
lea ecx, [esi - 0x10]
call fcn.00407864
lea ecx, [ebp - 0xaf8]
mov byte [ebp - 4], bl
call fcn.004090f2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb2c]
call fcn.0042f451
call fcn.0048f3d2
ret