Function at 0x40179a
Capabilities:
Contain obfuscated stackstrings
Get common file path
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x898
push esi
push edi
mov dword [esp + 0x10], 0x19ac1f2e
mov dword [esp + 0xc], 0x5f95acd9
mov dword [esp + 0x14], 0x5180829b
mov dword [esp + 0x18], 0x1ccc377c
mov dword [esp + 0x38], 0x43b29a2c
mov dword [esp + 0x28], 0x1109f3d1
mov dword [esp + 0x30], 0x5c4aae1a
mov dword [esp + 0x20], 0x4e757e39
mov dword [esp + 0x1c], 0x7ea84dc7
mov dword [esp + 0x24], 0x2462bc31
mov dword [esp + 0x8c], 0x149c7692
mov dword [esp + 0x98], 0x400db490
mov dword [esp + 0x2c], 0x127c64a9
mov dword [esp + 0x84], 0x181f5526
mov dword [esp + 0x40], 0x1ec81a5f
mov dword [esp + 0x34], 0x5ed76764
mov dword [esp + 0x6c], 0x75e92202
mov dword [esp + 0x3c], 0x6d5308bd
mov dword [esp + 0x50], 0x511cf560
mov dword [esp + 0x4c], 0xe8ef72
mov dword [esp + 0x94], 0x1a54711e
mov dword [esp + 0x74], 0x5a35f7f1
mov dword [esp + 0x60], 0x17d5ded
mov dword [esp + 0x7c], 0x6dbcdfc1
mov dword [esp + 0x54], 0x32f16b60
mov dword [esp + 0x44], 0x736f2545
mov dword [esp + 0x9c], 0x7218196c
mov dword [esp + 0x64], 0x2d6c3c3f
mov dword [esp + 0x48], 0x1127fcf7
mov dword [esp + 0x68], 0x1b69b247
mov dword [esp + 0x70], 0x1e24a7dd
mov dword [esp + 0x78], 0x6953e4fd
mov dword [esp + 0x80], 0x1a593632
mov dword [esp + 0x88], 0x5939a991
mov dword [esp + 0x90], 0x42b93e0
mov eax, 0x4db83974
mul dword [esp + 0x10]
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 0x325454c1
sub dword [esp + 0x10], 0xf1df4e8
add dword [esp + 0x10], 0x70c5dd15
sub dword [esp + 0xc], 0x106bceeb
add dword [esp + 0xc], 0x105522f3
sub dword [esp + 0xc], 0x3e69267a
add dword [esp + 0x18], 0x645c0756
sub dword [esp + 0x10], 0x5989193b
add dword [esp + 0xc], 0x69b02dab
mov eax, 0x174226b
mul dword [esp + 0xc]
mov eax, dword [esp + 0xc]
sub dword [esp + 0x14], 0x4441c554
add dword [esp + 0x38], 0x402a380d
mov eax, 0x7ac405eb
mul dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov eax, 0x363c5938
mul dword [esp + 0x14]
mov eax, dword [esp + 0x14]
add dword [esp + 0x14], 0xd8f4c89
add dword [esp + 0x18], 0x5fca7cf4
sub dword [esp + 0x28], 0x185911a7
add dword [esp + 0x20], 0x49d2af4
add dword [esp + 0x30], 0x37bb66ea
add dword [esp + 0x14], 0x21870240
mov eax, 0x38cdd83d
mul dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
sub dword [esp + 0xc], 0x7411751a
mov eax, 0x79bb7a31
mul dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x30], 0x6e184dff
add dword [esp + 0x20], 0x39e28f6c
mov eax, 0x11f51bb9
mul dword [esp + 0x14]
mov eax, dword [esp + 0x14]
sub dword [esp + 0x1c], 0x1f7f13d7
sub dword [esp + 0x1c], 0x60106b11
sub dword [esp + 0x18], 0x39c630b1
add dword [esp + 0x24], 0x5edc9f0f
sub dword [esp + 0x14], 0x73f34f3f
mov eax, 0x5a52a8ff
mul dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov eax, 0x6d2d823c
mul dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
sub dword [esp + 0x10], 0x2fa0f88f
sub dword [esp + 0x38], 0x42a6017c
add dword [esp + 0x18], 0x5f04d22b
add dword [esp + 0xc], 0xf3060f4
add dword [esp + 0x24], 0x4ddedd50
mov eax, 0x22f0de27
mul dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov eax, 0x6d7066c8
mul dword [esp + 0x50]
mov eax, dword [esp + 0x50]
add dword [esp + 0x2c], 0x41ad4585
sub dword [esp + 0x3c], 0x43f94165
mov eax, 0x32306a9f
mul dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov eax, 0x1292f0b0
mul dword [esp + 0x54]
mov eax, dword [esp + 0x54]
mov eax, 0x1a116a6f
mul dword [esp + 0x24]
mov eax, dword [esp + 0x24]
add dword [esp + 0x34], 0x7104dc19
add dword [esp + 0x4c], 0x2d4583f6
mov eax, 0x66a76c53
mul dword [esp + 0x34]
mov eax, dword [esp + 0x34]
sub dword [esp + 0x44], 0x786f44d1
sub dword [esp + 0x28], 0x5239d75f
sub dword [esp + 0x2c], 0x34bb77a0
sub dword [esp + 0x48], 0x13066554
sub dword [esp + 0x40], 0x1a0ee67b
sub dword [esp + 0x3c], 0x2d8650a5
xor edi, edi
mov esi, edi
cmp esi, 0xb36
jge 0x401af2
push edi
push edi
push edi
push edi
push edi
call dword [sym.imp.GDI32.dll_GetCharWidthI]
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp esi, 0xb8615b
jg 0x401b0c
inc esi
cmp esi, 0x1e70dee2
jl 0x401adf
cmp dword [0x4764a8], 0x400
jne 0x401b4a
push edi
push edi
call fcn.0040312d
push edi
push edi
push edi
call fcn.00403730
add esp, 0x14
xorps xmm0, xmm0
movsd qword [esp + 0x58], xmm0
call fcn.00401080
movsd xmm0, qword [esp + 0x58]
call fcn.0040109f
push edi
call fcn.004037fe
pop ecx
mov esi, edi
push edi
lea eax, [esp + 0xa4]
push eax
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, 0x58bc14
jle 0x401b7e
cmp dword [esp + 0x5c], 0x7a45f535
jne 0x401b87
inc esi
cmp esi, 0xe154
jl 0x401b4c
mov eax, dword [0x41a40c]
mov dword [0x4764a8], eax
call fcn.00401530
mov esi, 0x3078f
cmp dword [0x4764a8], 0x51f
jne 0x401bb6
push edi
lea eax, [esp + 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
dec esi
jne 0x401b9b
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10