Function at 0x408d10
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x522c1b
mov eax, dword fs:[0]
push eax
sub esp, 0x55c
mov eax, dword [0x575464]
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, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x420]
push 0x104
push eax
call esi
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x408d74
push str.SetDefaultDllDirectories
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x57a990], eax
jmp 0x408d79
mov eax, dword [0x57a990]
test eax, eax
je 0x408d84
push 0x800
call eax
push 0x55ed10
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
push 0x104
lea eax, [ebp - 0x218]
push eax
call esi
xorps xmm0, xmm0
mov dword [ebp - 0x484], 0
movq qword [ebp - 0x48c], xmm0
mov dword [ebp - 0x48c], 0
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x484], 0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x490], 7
mov dword [ebp - 0x494], 0
mov word [ebp - 0x4a4], ax
cmp word [ebp - 0x218], ax
jne 0x408e01
xor ecx, ecx
jmp 0x408e1f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408e10
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4a4]
call fcn.00405c80
mov byte [ebp - 4], 1
lea eax, [ebp - 0x4d4]
mov byte [ebp - 0x4a8], 0
lea ecx, [ebp - 0x568]
push dword [ebp - 0x4a8]
xorps xmm0, xmm0
mov dword [ebp - 0x460], 0
push eax
lea eax, [ebp - 0x4e0]
movq qword [ebp - 0x468], xmm0
push eax
mov dword [ebp - 0x4e0], 0x72666569
mov dword [ebp - 0x4dc], 0x2e656d61
mov dword [ebp - 0x4d8], 0x6c6c64
mov dword [ebp - 0x568], 0
mov dword [ebp - 0x564], 0
mov dword [ebp - 0x560], 0
call fcn.00409a90
mov byte [ebp - 4], 3
lea eax, [ebp - 0x4e0]
mov byte [ebp - 0x4a8], 0
lea ecx, [ebp - 0x55c]
push dword [ebp - 0x4a8]
mov dword [ebp - 0x4ec], 0x73726576
push eax
lea eax, [ebp - 0x4ec]
mov dword [ebp - 0x4e8], 0x2e6e6f69
push eax
mov dword [ebp - 0x4e4], 0x6c6c64
mov dword [ebp - 0x55c], 0
mov dword [ebp - 0x558], 0
mov dword [ebp - 0x554], 0
call fcn.00409a90
mov byte [ebp - 4], 4
lea eax, [ebp - 0x4a8]
mov byte [ebp - 0x4a8], 0
lea ecx, [ebp - 0x550]
push dword [ebp - 0x4a8]
mov dword [ebp - 0x4b0], 0x2e737873
push eax
lea eax, [ebp - 0x4b0]
mov dword [ebp - 0x4ac], 0x6c6c64
push eax
mov dword [ebp - 0x550], 0
mov dword [ebp - 0x54c], 0
mov dword [ebp - 0x548], 0
call fcn.00409a90
mov byte [ebp - 4], 5
lea eax, [ebp - 0x444]
mov byte [ebp - 0x4a8], 0
lea ecx, [ebp - 0x544]
push dword [ebp - 0x4a8]
mov dword [ebp - 0x450], 0x68327377
push eax
lea eax, [ebp - 0x450]
mov dword [ebp - 0x44c], 0x2e706c65
push eax
mov dword [ebp - 0x448], 0x6c6c64
mov dword [ebp - 0x544], 0
mov dword [ebp - 0x540], 0
mov dword [ebp - 0x53c], 0
call fcn.00409a90
mov byte [ebp - 4], 6
mov dword [ebp - 0x4c8], 0x616d7764
mov dword [ebp - 0x4c4], 0x642e6970
mov word [ebp - 0x4c0], 0x6c6c
mov byte [ebp - 0x4be], 0
mov dword [ebp - 0x538], 0
mov dword [ebp - 0x534], 0
mov dword [ebp - 0x530], 0
mov byte [ebp - 0x4a8], 0
push dword [ebp - 0x4a8]
lea eax, [ebp - 0x4bd]
push eax
lea eax, [ebp - 0x4c8]
push eax
lea ecx, [ebp - 0x538]
call fcn.00409a90
mov byte [ebp - 4], 7
lea eax, [ebp - 0x420]
mov byte [ebp - 0x4a8], 0
lea ecx, [ebp - 0x52c]
push dword [ebp - 0x4a8]
mov dword [ebp - 0x42c], 0x6d69736d
push eax
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x428], 0x2e323367
push eax
mov dword [ebp - 0x424], 0x6c6c64
mov dword [ebp - 0x52c], 0
mov dword [ebp - 0x528], 0
mov dword [ebp - 0x524], 0
call fcn.00409a90
mov byte [ebp - 4], 8
lea eax, [ebp - 0x4b3]
mov byte [ebp - 0x4a8], 0
lea ecx, [ebp - 0x520]
push dword [ebp - 0x4a8]
mov dword [ebp - 0x4bc], 0x38643364
push eax
lea eax, [ebp - 0x4bc]
mov dword [ebp - 0x4b8], 0x6c6c642e
push eax
mov byte [ebp - 0x4b4], 0
mov dword [ebp - 0x520], 0
mov dword [ebp - 0x51c], 0
mov dword [ebp - 0x518], 0
call fcn.00409a90
mov byte [ebp - 4], 9
lea eax, [ebp - 0x4c9]
mov byte [ebp - 0x4a8], 0
lea ecx, [ebp - 0x514]
push dword [ebp - 0x4a8]
mov dword [ebp - 0x4d4], 0x5f327377
push eax
lea eax, [ebp - 0x4d4]
mov dword [ebp - 0x4d0], 0x642e3233
push eax
mov word [ebp - 0x4cc], 0x6c6c
mov byte [ebp - 0x4ca], 0
mov dword [ebp - 0x514], 0
mov dword [ebp - 0x510], 0
mov dword [ebp - 0x50c], 0
call fcn.00409a90
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x42e]
movaps xmm0, xmmword [0x561c10]
lea ecx, [ebp - 0x508]
mov byte [ebp - 0x4a8], 0
push dword [ebp - 0x4a8]
movups xmmword [ebp - 0x440], xmm0
push eax
lea eax, [ebp - 0x440]
mov word [ebp - 0x430], 0x6c
push eax
mov dword [ebp - 0x508], 0
mov dword [ebp - 0x504], 0
mov dword [ebp - 0x500], 0
call fcn.00409a90
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x4fc]
mov byte [ebp - 0x4a8], 0
push dword [ebp - 0x4a8]
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 0
push eax
lea eax, [ebp - 0x568]
push eax
lea ecx, [ebp - 0x468]
call fcn.004099b0
push 0x409510
push 9
push 0xc
lea eax, [ebp - 0x568]
mov byte [ebp - 4], 0xd
push eax
call fcn.004e131a
xor eax, eax
mov dword [ebp - 0x46c], 7
mov dword [ebp - 0x470], 0
mov word [ebp - 0x480], ax
cmp word [ebp - 0x218], ax
jne 0x409260
xor ecx, ecx
jmp 0x40927f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409270
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x480]
call fcn.00405c80
mov byte [ebp - 4], 0xe
mov edi, dword [ebp - 0x468]
cmp edi, dword [ebp - 0x464]
je 0x409469
nop dword [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x424], 0
push edi
lea ecx, [ebp - 0x42c]
movq qword [ebp - 0x42c], xmm0
call fcn.00409520
mov ebx, 7
xor edx, edx
xor eax, eax
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x434], edx
mov word [ebp - 0x444], ax
mov byte [ebp - 4], 0x10
mov esi, dword [ebp - 0x42c]
cmp esi, dword [ebp - 0x428]
je 0x4093a7
mov al, byte [esi]
cbw
movzx ecx, ax
mov dword [ebp - 0x4a8], ecx
cmp edx, ebx
jne 0x409360
lea eax, [edx + 1]
cmp eax, 0x7ffffffe
ja 0x4094e9
cmp ebx, eax
jae 0x409335
push edx
push eax
lea ecx, [ebp - 0x444]
call fcn.00405a50
jmp 0x409354
test eax, eax
jne 0x409360
mov dword [ebp - 0x434], eax
cmp ebx, 8
lea eax, [ebp - 0x444]
cmovae eax, dword [ebp - 0x444]
xor ecx, ecx
mov word [eax], cx
mov edx, dword [ebp - 0x434]
mov ebx, dword [ebp - 0x430]
mov eax, dword [ebp - 0x4a8]
lea ecx, [ebp - 0x444]
cmp ebx, 8
cmovae ecx, dword [ebp - 0x444]
inc esi
mov word [ecx + edx*2], ax
xor edx, edx
mov eax, dword [ebp - 0x434]
inc eax
mov dword [ebp - 0x434], eax
mov word [ecx + eax*2], dx
cmp esi, dword [ebp - 0x428]
je 0x4093a7
mov ebx, dword [ebp - 0x430]
mov edx, dword [ebp - 0x434]
jmp 0x409303
push ecx
lea edx, [ebp - 0x480]
lea ecx, [ebp - 0x4f8]
call fcn.004098b0
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0x11
push ecx
mov edx, eax
lea ecx, [ebp - 0x45c]
call fcn.00409780
mov eax, dword [ebp - 0x4e4]
add esp, 8
cmp eax, 8
jb 0x4093f2
inc eax
lea ecx, [ebp - 0x4f8]
push eax
push dword [ebp - 0x4f8]
call fcn.00405de0
mov eax, dword [ebp - 0x448]
cmp eax, 8
jb 0x409410
inc eax
lea ecx, [ebp - 0x45c]
push eax
push dword [ebp - 0x45c]
call fcn.00405de0
xor eax, eax
mov dword [ebp - 0x448], 7
mov word [ebp - 0x45c], ax
mov eax, dword [ebp - 0x430]
mov dword [ebp - 0x44c], 0
cmp eax, 8
jb 0x40944b
inc eax
lea ecx, [ebp - 0x444]
push eax
push dword [ebp - 0x444]
call fcn.00405de0
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 0xe
call fcn.00409650
add edi, 0xc
cmp edi, dword [ebp - 0x464]
jne 0x4092b0
mov eax, dword [ebp - 0x46c]
cmp eax, 8
jb 0x409487
inc eax
lea ecx, [ebp - 0x480]
push eax
push dword [ebp - 0x480]
call fcn.00405de0
xor eax, eax
mov dword [ebp - 0x46c], 7
lea ecx, [ebp - 0x468]
mov dword [ebp - 0x470], 0
mov word [ebp - 0x480], ax
call fcn.004095f0
mov eax, dword [ebp - 0x490]
cmp eax, 8
jb 0x4094cd
inc eax
lea ecx, [ebp - 0x4a4]
push eax
push dword [ebp - 0x4a4]
call fcn.00405de0
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.004e1010
mov esp, ebp
pop ebp
ret
push str.string_too_long
call fcn.004de637
int3