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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54ecb6
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 0x58e0b8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x411964
push str.SetDefaultDllDirectories
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5b0960], eax
jmp 0x411969
mov eax, dword [0x5b0960]
test eax, eax
je 0x411974
push 0x800
call eax
push 0x58d684
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 0x4119f1
xor ecx, ecx
jmp 0x411a0f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411a00
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4a4]
call fcn.004067d0
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.004126e0
mov byte [ebp - 4], 3
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.004126e0
mov byte [ebp - 4], 4
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.004126e0
mov byte [ebp - 4], 5
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.004126e0
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 - 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.004126e0
mov byte [ebp - 4], 7
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.004126e0
mov byte [ebp - 4], 8
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.004126e0
mov byte [ebp - 4], 9
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.004126e0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x42e]
movaps xmm0, xmmword [0x592600]
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.004126e0
mov byte [ebp - 4], 0xb
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.00412600
push 0x412180
push 9
push 0xc
lea eax, [ebp - 0x578]
mov byte [ebp - 4], 0xd
push eax
call fcn.0050a4a7
xor eax, eax
mov dword [ebp - 0x46c], 7
mov dword [ebp - 0x470], 0
mov word [ebp - 0x480], ax
cmp word [ebp - 0x218], ax
jne 0x411e50
xor ecx, ecx
jmp 0x411e6f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411e60
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x480]
call fcn.004067d0
mov byte [ebp - 4], 0xe
mov edi, dword [ebp - 0x468]
cmp edi, dword [ebp - 0x464]
je 0x4120e3
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.00412190
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 0x411f97
mov al, byte [esi]
cbw
movzx ecx, ax
mov dword [ebp - 0x4a8], ecx
cmp edx, ebx
jne 0x411f50
lea eax, [edx + 1]
cmp eax, 0x7ffffffe
ja 0x412163
cmp ebx, eax
jae 0x411f25
push edx
push eax
lea ecx, [ebp - 0x444]
call fcn.004078d0
jmp 0x411f44
test eax, eax
jne 0x411f50
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 0x411f97
mov ebx, dword [ebp - 0x430]
mov edx, dword [ebp - 0x434]
jmp 0x411ef3
push 0x58e0f0
lea edx, [ebp - 0x480]
lea ecx, [ebp - 0x508]
call fcn.004124c0
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0x11
push ecx
mov edx, eax
lea ecx, [ebp - 0x45c]
call fcn.00412390
add esp, 8
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x4f4]
cmp eax, 8
jb 0x411fea
inc eax
lea ecx, [ebp - 0x508]
push eax
push dword [ebp - 0x508]
call fcn.00406f30
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.004068d0
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 0x41206c
inc eax
lea ecx, [ebp - 0x4f0]
push eax
push dword [ebp - 0x4f0]
call fcn.00406f30
mov eax, dword [ebp - 0x448]
cmp eax, 8
jb 0x41208a
inc eax
lea ecx, [ebp - 0x45c]
push eax
push dword [ebp - 0x45c]
call fcn.00406f30
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 0x4120c5
inc eax
lea ecx, [ebp - 0x444]
push eax
push dword [ebp - 0x444]
call fcn.00406f30
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 0xe
call fcn.004122c0
add edi, 0xc
cmp edi, dword [ebp - 0x464]
jne 0x411ea0
mov eax, dword [ebp - 0x46c]
cmp eax, 8
jb 0x412101
inc eax
lea ecx, [ebp - 0x480]
push eax
push dword [ebp - 0x480]
call fcn.00406f30
xor eax, eax
mov dword [ebp - 0x46c], 7
lea ecx, [ebp - 0x468]
mov dword [ebp - 0x470], 0
mov word [ebp - 0x480], ax
call fcn.00412260
mov eax, dword [ebp - 0x490]
cmp eax, 8
jb 0x412147
inc eax
lea ecx, [ebp - 0x4a4]
push eax
push dword [ebp - 0x4a4]
call fcn.00406f30
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.00509f60
mov esp, ebp
pop ebp
ret
push str.string_too_long
call fcn.004f55e7
int3