Function at 0x40e670
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440139
mov eax, dword fs:[0]
push eax
sub esp, 0x6b0
mov eax, dword [0x44f1f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x664], esi
mov edi, dword [ebp + 8]
push ecx
mov ecx, esp
push edi
call fcn.00401450
mov ecx, 0x450c80
call fcn.0040d9a0
test eax, eax
jne 0x40ebcd
push 0xc
lea ecx, [ebp - 0x674]
call fcn.00420370
push 0
lea ecx, [ebp - 0x674]
call fcn.00406160
xor eax, eax
mov dword [ebp - 4], 0
push eax
push eax
push 0x2001f
push eax
push eax
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x674]
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], 0x6f0053
push eax
push SysReAllocStringLen
mov dword [ebp - 0x9c], 0x740066
mov dword [ebp - 0x98], 0x610077
mov dword [ebp - 0x94], 0x650072
mov dword [ebp - 0x90], 0x5c005c
mov dword [ebp - 0x8c], 0x30007b
mov dword [ebp - 0x88], 0x420031
mov dword [ebp - 0x84], 0x350033
mov dword [ebp - 0x80], 0x380035
mov dword [ebp - 0x7c], 0x2d0044
mov dword [ebp - 0x78], 0x340043
mov dword [ebp - 0x74], 0x450032
mov dword [ebp - 0x70], 0x34002d
mov dword [ebp - 0x6c], 0x460036
mov dword [ebp - 0x68], 0x2d0032
mov dword [ebp - 0x64], 0x300038
mov dword [ebp - 0x60], 0x320039
mov dword [ebp - 0x5c], 0x43002d
mov dword [ebp - 0x58], 0x370041
mov dword [ebp - 0x54], 0x330037
mov dword [ebp - 0x50], 0x380037
mov dword [ebp - 0x4c], 0x350042
mov dword [ebp - 0x48], 0x390043
mov dword [ebp - 0x44], 0x7d0030
call fcn.0040bf20
test eax, eax
jne 0x40ebbe
mov word [ebp - 0x24], ax
lea ecx, [ebp - 0x674]
lea eax, [ebp - 0x660]
mov dword [ebp - 0x660], 0x104
push eax
lea eax, [ebp - 0x5b4]
mov dword [ebp - 0x2c], 0x61004e
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], 0x65006d
push eax
call fcn.00415a10
mov ebx, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
jne 0x40e872
lea eax, [ebp - 0x5b4]
push eax
call ebx
test eax, eax
je 0x40e872
push edi
lea eax, [ebp - 0x5b4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x40e872
push ecx
lea eax, [ebp - 0x5b4]
mov dword [ebp - 0x660], esp
mov ecx, esp
push eax
call fcn.00401450
push ecx
mov ecx, esp
mov byte [ebp - 4], 1
push edi
call fcn.00401450
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.00412980
mov esi, eax
test esi, esi
jne 0x40ebc0
mov esi, dword [ebp - 0x664]
lea ecx, [ebp - 0x674]
call fcn.0040bac0
push 0x104
lea eax, [ebp - 0x3ac]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x40ebbe
lea eax, [ebp - 0x3ac]
push eax
call ebx
test eax, eax
je 0x40ebbe
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x720074
push eax
lea eax, [ebp - 0x3ac]
mov dword [ebp - 0x38], 0x650065
push eax
mov dword [ebp - 0x34], 0x6a002e
mov dword [ebp - 0x30], 0x73
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x40ebbe
lea ecx, [ebp - 0x5ec]
call fcn.00405a00
lea eax, [ebp - 0x3ac]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x68c]
call fcn.00405a80
lea eax, [ebp - 0x5ec]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x68c]
mov ecx, esi
push eax
call fcn.00415ab0
test eax, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68c]
setne bl
call fcn.00407030
test bl, bl
je 0x40e978
lea eax, [ebp - 0x3ac]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
lea eax, [ebp - 0x3ac]
push eax
lea ecx, [ebp - 0x68c]
call fcn.00405a80
lea eax, [ebp - 0x5ec]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x68c]
mov ecx, esi
push eax
call fcn.00415d40
lea ecx, [ebp - 0x68c]
mov byte [ebp - 4], 2
call fcn.00407030
lea ecx, [ebp - 0x5ec]
call fcn.0041bc70
test al, al
jne 0x40ebb3
push 0x10
lea ecx, [ebp - 0x5d4]
call fcn.00420370
push 0
lea ecx, [ebp - 0x5d4]
call fcn.004211d0
push 0x70
lea ecx, [ebp - 0x65c]
mov byte [ebp - 4], 5
call fcn.00420370
lea ecx, [ebp - 0x65c]
call fcn.00422560
push 1
lea eax, [ebp - 0x5d4]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x5ec]
push eax
lea ecx, [ebp - 0x65c]
call fcn.00423d10
test al, al
je 0x40eb99
push 0x10
lea ecx, [ebp - 0x5c4]
mov dword [ebp - 0x20], 0x74736e69
mov dword [ebp - 0x1c], 0x5f6c6c61
mov dword [ebp - 0x18], 0x68746170
mov word [ebp - 0x14], 0x3233
mov byte [ebp - 0x12], 0
call fcn.00420370
push 0x443190
lea ecx, [ebp - 0x684]
call fcn.00421140
lea eax, [ebp - 0x684]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x5c4]
push eax
lea ecx, [ebp - 0x5d4]
call fcn.004220c0
lea ecx, [ebp - 0x684]
mov byte [ebp - 4], 9
call fcn.004213f0
lea ecx, [ebp - 0x5c4]
call fcn.00422180
test al, al
jne 0x40eb8a
lea ecx, [ebp - 0x5c4]
call fcn.004221b0
test al, al
je 0x40eb8a
lea eax, [ebp - 0x6a4]
push eax
lea ecx, [ebp - 0x5c4]
call fcn.00421ac0
mov ecx, eax
call fcn.0041b300
push eax
lea eax, [ebp - 0x1a4]
push eax
call fcn.004045f0
add esp, 8
lea ecx, [ebp - 0x6a4]
call fcn.00407020
lea eax, [ebp - 0x1a4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
test eax, eax
je 0x40eb8a
push edi
lea ecx, [ebp - 0x6a4]
call fcn.00405a80
lea eax, [ebp - 0x6a4]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x6bc]
mov ecx, esi
push eax
call fcn.0040bc50
mov ecx, eax
call fcn.0041b300
push eax
lea eax, [ebp - 0x1a4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea ecx, [ebp - 0x6bc]
mov esi, eax
call fcn.00407020
lea ecx, [ebp - 0x6a4]
mov byte [ebp - 4], 9
call fcn.00407030
test esi, esi
je 0x40eb8a
push ecx
lea eax, [ebp - 0x1a4]
mov dword [ebp - 0x668], esp
mov ecx, esp
push eax
call fcn.00404ed0
push ecx
mov ecx, esp
mov byte [ebp - 4], 0xb
push edi
call fcn.00401450
mov ecx, dword [ebp - 0x664]
mov byte [ebp - 4], 9
call fcn.00412980
mov esi, eax
test esi, esi
je 0x40eb8a
lea ecx, [ebp - 0x5c4]
mov byte [ebp - 4], 6
call fcn.004213f0
lea ecx, [ebp - 0x65c]
call fcn.00407450
lea ecx, [ebp - 0x5d4]
mov byte [ebp - 4], 2
call fcn.004213f0
lea ecx, [ebp - 0x5ec]
call fcn.00407020
jmp 0x40ebc0
lea ecx, [ebp - 0x5c4]
mov byte [ebp - 4], 6
call fcn.004213f0
lea ecx, [ebp - 0x65c]
call fcn.00407450
lea ecx, [ebp - 0x5d4]
mov byte [ebp - 4], 2
call fcn.004213f0
lea ecx, [ebp - 0x5ec]
call fcn.00407020
xor esi, esi
lea ecx, [ebp - 0x674]
call fcn.00407250
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004258e7
mov esp, ebp
pop ebp
ret 4