Function at 0x404840
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x854
mov dword [ebp - 0x50], 0x449add3f
mov dword [ebp - 0x1c], 0x272ce483
mov dword [ebp - 4], 0x2482df5d
mov dword [ebp - 0x48], 0x53e46649
mov dword [ebp - 0xc], 0x3d7aa9ab
mov dword [ebp - 0x30], 0x43dfdba1
mov dword [ebp - 0x3c], 0x6643ce20
mov dword [ebp - 0x20], 0x22b6d3dc
mov dword [ebp - 0x2c], 0x2971498
mov dword [ebp - 0x54], 0x12423d3b
mov dword [ebp - 0x28], 0x68172249
mov dword [ebp - 0x38], 0x769e4eec
mov dword [ebp - 0x18], 0x696475ec
mov dword [ebp - 0x24], 0x5cb81290
mov dword [ebp - 0x4c], 0x14fae4ca
mov dword [ebp - 0x34], 0x24bae585
mov dword [ebp - 0x10], 0x34468900
mov dword [ebp - 8], 0x680998ea
mov dword [ebp - 0x14], 0x35ccbb43
mov dword [ebp - 0x40], 0x1786ab04
mov dword [ebp - 0x44], 0x32aa57e3
sub dword [ebp - 0x50], 0x4ebc4a17
add dword [ebp - 0x50], 0x20f83606
sub dword [ebp - 0x1c], 0x7b71a81c
add dword [ebp - 0x1c], 0x496744e2
sub dword [ebp - 0x50], 0x34a78622
add dword [ebp - 4], 0x6dc530f0
sub dword [ebp - 0x1c], 0xbecfd1e
add dword [ebp - 4], 0x15380799
sub dword [ebp - 0x50], 0x43fe1282
mov eax, 0x62ec978e
mul dword [ebp - 4]
mov eax, dword [ebp - 4]
sub dword [ebp - 0x48], 0x3f785c58
add dword [ebp - 0x1c], 0x234497cf
add dword [ebp - 0x1c], 0x4f42b4b2
add dword [ebp - 0x50], 0x4dc0d57d
sub dword [ebp - 0x1c], 0x77df57ad
mov eax, 0x5aa7ca67
mul dword [ebp - 0x50]
mov eax, dword [ebp - 0x50]
sub dword [ebp - 0x1c], 0xc3e648c
sub dword [ebp - 0x48], 0x54331a7d
mov eax, 0x7ba65a95
mul dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
add dword [ebp - 0x48], 0x559b1b80
add dword [ebp - 4], 0x6e355fd3
add dword [ebp - 0xc], 0x6d285169
sub dword [ebp - 4], 0x30a07afb
mov eax, 0x3c940cbc
mul dword [ebp - 0x50]
mov eax, dword [ebp - 0x50]
add dword [ebp - 0x50], 0x38b99f6a
add dword [ebp - 0x50], 0x415d9a09
add dword [ebp - 0x30], 0x670cc87c
sub dword [ebp - 0x30], 0x34773b6
add dword [ebp - 0x30], 0x6b08776d
sub dword [ebp - 0x48], 0x54cfc85e
sub dword [ebp - 0xc], 0x3e520a93
mov eax, 0x508c34b1
mul dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
sub dword [ebp - 4], 0x27b0973b
add dword [ebp - 0x30], 0x75a47e3e
mov eax, 0x77583c39
mul dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, 0x50cb8b9f
mul dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
add dword [ebp - 0x50], 0x643503ff
add dword [ebp - 0x3c], 0x1716d952
sub dword [ebp - 0xc], 0x1d0c99f1
add dword [ebp - 0x50], 0x67eae285
add dword [ebp - 0x48], 0x1daa8719
add dword [ebp - 0x3c], 0xb445283
mov eax, 0x49ce7a6d
mul dword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
mov eax, 0x7d79438f
mul dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, 0x12bc3bbe
mul dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, 0x1d4eec65
mul dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
add dword [ebp - 0x50], 0x17a4e7e5
mov eax, 0x6d409a63
mul dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
mov eax, 0x2339d8ac
mul dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], 0x71995a32
add dword [ebp - 0x3c], 0x12aeacdf
mov eax, 0x3960d758
mul dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
add dword [ebp - 0x30], 0x8afa486
sub dword [ebp - 0x50], 0x61773a7c
mov eax, 0x5872d9d0
mul dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
sub dword [ebp - 0x48], 0x43d33f22
add dword [ebp - 0x50], 0x6c9afab9
mov eax, 0x595dd18d
mul dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, 0x1aa9b3cd
mul dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
mov eax, 0x5df6239a
mul dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
add dword [ebp - 0x38], 0x72eb32fb
sub dword [ebp - 0x38], 0x6d4becae
sub dword [ebp - 0x54], 0xb0a1c51
mov eax, 0x52666157
mul dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
sub dword [ebp - 0x3c], 0x2e76a41a
add dword [ebp - 0x48], 0x3d3ab0de
mov eax, 0x6b19c837
mul dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, 0x277c404e
mul dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
sub dword [ebp - 0x10], 0x5b62f00e
add dword [ebp - 0x10], 0x1ec7e1f6
add dword [ebp - 4], 0x5075dd65
add dword [ebp - 0x50], 0x415946ee
sub dword [ebp - 0x50], 0x105b7ec1
mov eax, 0x1b65ea5d
mul dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov eax, 0x469d2b28
mul dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, 0x2edf88cf
mul dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
sub dword [ebp - 0x50], 0x48b266a3
sub dword [ebp - 8], 0x15e4357b
sub dword [ebp - 0x18], 0xa308e27
xor eax, eax
cmp eax, 0x166c480
jg 0x404b76
inc eax
cmp eax, 0x37e3fd1
jl 0x404b67
mov eax, dword [0x497cac]
push esi
push edi
mov dword [0x49cafc], eax
call fcn.00404580
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, 0x2ec37
cmp dword [0x49cafc], 0x51f
jne 0x404ba9
lea ecx, [ebp - 0x854]
push ecx
push 0
call esi
sub edi, 1
jne 0x404b92
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10