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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54e8c6
mov eax, dword fs:[0]
push eax
sub esp, 0x56c
mov eax, dword [0x5aa464]
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 0x58e0c0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4118c4
push str.SetDefaultDllDirectories
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5b0960], eax
jmp 0x4118c9
mov eax, dword [0x5b0960]
test eax, eax
je 0x4118d4
push 0x800
call eax
push 0x58d674
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 0x411951
xor ecx, ecx
jmp 0x41196f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411960
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4a4]
call fcn.00406720
mov byte [ebp - 4], 1
lea eax, [ebp - 0x4f0]
mov byte [ebp - 0x4a8], 0
lea ecx, [ebp - 0x578]
push dword [ebp - 0x4a8]
xorps xmm0, xmm0
mov dword [ebp - 0x460], 0
push eax
lea eax, [ebp - 0x4fc]
movq qword [ebp - 0x468], xmm0
push eax
mov dword [ebp - 0x4fc], 0x72666569
mov dword [ebp - 0x4f8], 0x2e656d61
mov dword [ebp - 0x4f4], 0x6c6c64
mov dword [ebp - 0x578], 0
mov dword [ebp - 0x574], 0
mov dword [ebp - 0x570], 0
call fcn.00412560
mov byte [ebp - 4], 2
lea eax, [ebp - 0x444]
mov byte [ebp - 0x4a8], 0
lea ecx, [ebp - 0x56c]
push dword [ebp - 0x4a8]
mov dword [ebp - 0x450], 0x73726576
push eax
lea eax, [ebp - 0x450]
mov dword [ebp - 0x44c], 0x2e6e6f69
push eax
mov dword [ebp - 0x448], 0x6c6c64
mov dword [ebp - 0x56c], 0
mov dword [ebp - 0x568], 0
mov dword [ebp - 0x564], 0
call fcn.00412560
mov byte [ebp - 4], 3
lea eax, [ebp - 0x4a8]
mov byte [ebp - 0x4a8], 0
lea ecx, [ebp - 0x560]
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 - 0x560], 0
mov dword [ebp - 0x55c], 0
mov dword [ebp - 0x558], 0
call fcn.00412560
mov byte [ebp - 4], 4
lea eax, [ebp - 0x4d8]
mov byte [ebp - 0x4a8], 0
lea ecx, [ebp - 0x554]
push dword [ebp - 0x4a8]
mov dword [ebp - 0x4e4], 0x68327377
push eax
lea eax, [ebp - 0x4e4]
mov dword [ebp - 0x4e0], 0x2e706c65
push eax
mov dword [ebp - 0x4dc], 0x6c6c64
mov dword [ebp - 0x554], 0
mov dword [ebp - 0x550], 0
mov dword [ebp - 0x54c], 0
call fcn.00412560
mov byte [ebp - 4], 5
mov dword [ebp - 0x4c8], 0x616d7764
mov dword [ebp - 0x4c4], 0x642e6970
mov word [ebp - 0x4c0], 0x6c6c
mov byte [ebp - 0x4be], 0
mov dword [ebp - 0x548], 0
mov dword [ebp - 0x544], 0
mov dword [ebp - 0x540], 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 - 0x548]
call fcn.00412560
mov byte [ebp - 4], 6
lea eax, [ebp - 0x420]
mov byte [ebp - 0x4a8], 0
lea ecx, [ebp - 0x53c]
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 - 0x53c], 0
mov dword [ebp - 0x538], 0
mov dword [ebp - 0x534], 0
call fcn.00412560
mov byte [ebp - 4], 7
lea eax, [ebp - 0x4b3]
mov byte [ebp - 0x4a8], 0
lea ecx, [ebp - 0x530]
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 - 0x530], 0
mov dword [ebp - 0x52c], 0
mov dword [ebp - 0x528], 0
call fcn.00412560
mov byte [ebp - 4], 8
lea eax, [ebp - 0x4c9]
mov byte [ebp - 0x4a8], 0
lea ecx, [ebp - 0x524]
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 - 0x524], 0
mov dword [ebp - 0x520], 0
mov dword [ebp - 0x51c], 0
call fcn.00412560
mov byte [ebp - 4], 9
lea eax, [ebp - 0x42e]
movaps xmm0, xmmword [0x592610]
lea ecx, [ebp - 0x518]
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 - 0x518], 0
mov dword [ebp - 0x514], 0
mov dword [ebp - 0x510], 0
call fcn.00412560
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x50c]
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 - 0x578]
push eax
lea ecx, [ebp - 0x468]
call fcn.00412480
push 0x4120e0
push 9
push 0xc
lea eax, [ebp - 0x578]
mov byte [ebp - 4], 0xc
push eax
call fcn.0050a0bd
xor eax, eax
mov dword [ebp - 0x46c], 7
mov dword [ebp - 0x470], 0
mov word [ebp - 0x480], ax
cmp word [ebp - 0x218], ax
jne 0x411db0
xor ecx, ecx
jmp 0x411dcf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411dc0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x480]
call fcn.00406720
mov byte [ebp - 4], 0xd
mov edi, dword [ebp - 0x468]
cmp edi, dword [ebp - 0x464]
je 0x412043
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.004120f0
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], 0xf
mov esi, dword [ebp - 0x42c]
cmp esi, dword [ebp - 0x428]
je 0x411ef7
mov al, byte [esi]
cbw
movzx ecx, ax
mov dword [ebp - 0x4a8], ecx
cmp edx, ebx
jne 0x411eb0
lea eax, [edx + 1]
cmp eax, 0x7ffffffe
ja 0x4120c3
cmp ebx, eax
jae 0x411e85
push edx
push eax
lea ecx, [ebp - 0x444]
call fcn.00407820
jmp 0x411ea4
test eax, eax
jne 0x411eb0
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 0x411ef7
mov ebx, dword [ebp - 0x430]
mov edx, dword [ebp - 0x434]
jmp 0x411e53
push 0x58e0f8
lea edx, [ebp - 0x480]
lea ecx, [ebp - 0x508]
call fcn.004122f0
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0x10
push ecx
mov edx, eax
lea ecx, [ebp - 0x45c]
call fcn.00412400
add esp, 8
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x4f4]
cmp eax, 8
jb 0x411f4a
inc eax
lea ecx, [ebp - 0x508]
push eax
push dword [ebp - 0x508]
call fcn.00406e80
xor eax, eax
mov dword [ebp - 0x4f4], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x508], ax
lea ecx, [ebp - 0x4f0]
mov dword [ebp - 0x4e0], eax
mov word [ebp - 0x4f0], ax
lea eax, [ebp - 0x45c]
push eax
mov dword [ebp - 0x4f8], 0
mov dword [ebp - 0x4dc], 7
call fcn.00406820
cmp dword [ebp - 0x4dc], 8
lea eax, [ebp - 0x4f0]
cmovae eax, dword [ebp - 0x4f0]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, dword [ebp - 0x4dc]
cmp eax, 8
jb 0x411fcc
inc eax
lea ecx, [ebp - 0x4f0]
push eax
push dword [ebp - 0x4f0]
call fcn.00406e80
mov eax, dword [ebp - 0x448]
cmp eax, 8
jb 0x411fea
inc eax
lea ecx, [ebp - 0x45c]
push eax
push dword [ebp - 0x45c]
call fcn.00406e80
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 0x412025
inc eax
lea ecx, [ebp - 0x444]
push eax
push dword [ebp - 0x444]
call fcn.00406e80
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 0xd
call fcn.00412220
add edi, 0xc
cmp edi, dword [ebp - 0x464]
jne 0x411e00
mov eax, dword [ebp - 0x46c]
cmp eax, 8
jb 0x412061
inc eax
lea ecx, [ebp - 0x480]
push eax
push dword [ebp - 0x480]
call fcn.00406e80
xor eax, eax
mov dword [ebp - 0x46c], 7
lea ecx, [ebp - 0x468]
mov dword [ebp - 0x470], 0
mov word [ebp - 0x480], ax
call fcn.004121c0
mov eax, dword [ebp - 0x490]
cmp eax, 8
jb 0x4120a7
inc eax
lea ecx, [ebp - 0x4a4]
push eax
push dword [ebp - 0x4a4]
call fcn.00406e80
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.00509b84
mov esp, ebp
pop ebp
ret
push str.string_too_long
call fcn.004f5207
int3