Function at 0x404820
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x874
mov dword [ebp - 0x6c], 0x7e6ca3d8
mov dword [ebp - 0x18], 0x24ed3805
mov dword [ebp - 0x70], 0x2fa1fd82
mov dword [ebp - 0x38], 0x1afc0060
mov dword [ebp - 0x4c], 0x4fcff1b7
mov dword [ebp - 0x1c], 0x37334c83
mov dword [ebp - 0x58], 0x7c9ebf4d
mov dword [ebp - 0x2c], 0xa1d0e9e
mov dword [ebp - 0x3c], 0x4286529
mov dword [ebp - 0x74], 0x1b21161f
mov dword [ebp - 0x68], 0x1254d68d
mov dword [ebp - 0x50], 0x6154b605
mov dword [ebp - 0x10], 0x6b7a351f
mov dword [ebp - 0x48], 0x767b6151
mov dword [ebp - 4], 0x661caa2a
mov dword [ebp - 0xc], 0x4df5d9e3
mov dword [ebp - 8], 0x72638086
mov dword [ebp - 0x14], 0x375d02e9
mov dword [ebp - 0x54], 0x87aac37
mov dword [ebp - 0x34], 0x699775d5
mov dword [ebp - 0x24], 0x4d0538fe
mov dword [ebp - 0x60], 0x517bdb33
mov dword [ebp - 0x30], 0x4b5ebb84
mov dword [ebp - 0x40], 0xddb2a42
mov dword [ebp - 0x44], 0x68b81144
mov dword [ebp - 0x28], 0x7f67119f
mov dword [ebp - 0x5c], 0x4929c24d
mov dword [ebp - 0x20], 0x2aaaf4d1
mov dword [ebp - 0x64], 0x2b338be0
mov eax, 0x37b374b0
mul dword [ebp - 0x6c]
mov eax, dword [ebp - 0x6c]
sub dword [ebp - 0x70], 0x2b91a324
add dword [ebp - 0x18], 0x5df54f59
sub dword [ebp - 0x38], 0x5c518f93
add dword [ebp - 0x18], 0x3ef72074
add dword [ebp - 0x18], 0x241aef1b
add dword [ebp - 0x38], 0x331a0c1d
add dword [ebp - 0x38], 0x46aed0a8
sub dword [ebp - 0x38], 0x14e7d002
sub dword [ebp - 0x18], 0x59b55842
sub dword [ebp - 0x18], 0x35f9d82c
mov eax, 0x15a1520f
mul dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, 0x2080d6b9
mul dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
sub dword [ebp - 0x38], 0x6f74546d
sub dword [ebp - 0x18], 0x77521176
add dword [ebp - 0x38], 0x301b1fc6
mov eax, 0x4203973b
mul dword [ebp - 0x6c]
mov eax, dword [ebp - 0x6c]
add dword [ebp - 0x18], 0x21cf61a
mov eax, 0x79bdfeeb
mul dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
mov eax, 0x36a89b02
mul dword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
mov eax, 0x2f35e74d
mul dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x4c], 0x675c1257
mov eax, 0x1f672461
mul dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, 0x26b73046
mul dword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
mov eax, 0x3328c0db
mul dword [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
add dword [ebp - 0x70], 0x5764330b
add dword [ebp - 0x1c], 0x612b142f
mov eax, 0x1d7171a1
mul dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
sub dword [ebp - 0x3c], 0x623f012
mov eax, 0x3de51b6d
mul dword [ebp - 0x6c]
mov eax, dword [ebp - 0x6c]
add dword [ebp - 0x1c], 0x4a44f67a
mov eax, 0x323081
mul dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
mov eax, 0x2099a3a7
mul dword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
add dword [ebp - 0x38], 0x3cf3598d
sub dword [ebp - 0x58], 0x57af5cde
mov eax, 0x68b25922
mul dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
sub dword [ebp - 0x3c], 0x476a35df
sub dword [ebp - 0x50], 0x6a1f557a
mov eax, 0x68f62716
mul dword [ebp - 4]
mov eax, dword [ebp - 4]
sub dword [ebp - 4], 0x7514f3d0
sub dword [ebp - 8], 0x7c6f5345
sub dword [ebp - 0x3c], 0x3e502b0
add dword [ebp - 0x6c], 0x61177cf
sub dword [ebp - 0x38], 0xcf5c1ff
mov eax, 0x4e153efe
mul dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
sub dword [ebp - 0x4c], 0x5d86b7dd
mov eax, 0x4e8c932a
mul dword [ebp - 0x68]
mov eax, dword [ebp - 0x68]
add dword [ebp - 0x24], 0x34440422
sub dword [ebp - 4], 0x2f290752
mov eax, 0x2d0c345d
mul dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
add dword [ebp - 0x3c], 0x74cc6dfe
mov eax, 0x59a8c37
mul dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov eax, 0x5d6b5b4b
mul dword [ebp - 4]
mov eax, dword [ebp - 4]
add dword [ebp - 0x40], 0x28936986
add dword [ebp - 0x4c], 0x514a3e7e
add dword [ebp - 0x2c], 0x93244d7
sub dword [ebp - 0x2c], 0x3da1d24d
sub dword [ebp - 0x3c], 0x7f016b1d
sub dword [ebp - 0x10], 0x2778f13b
mov eax, 0x47c7c90e
mul dword [ebp - 0x54]
mov eax, dword [ebp - 0x54]
sub dword [ebp - 0x48], 0x7f9b9538
sub dword [ebp - 0x58], 0x5159d26f
add dword [ebp - 0x70], 0x138cf5ef
add dword [ebp - 0x48], 0x50ddce03
mov eax, 0x40034bc3
mul dword [ebp - 0x60]
mov eax, dword [ebp - 0x60]
mov eax, 0x72cb94f8
mul dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
sub dword [ebp - 0x14], 0x286b7aa7
mov eax, 0x772e093f
mul dword [ebp - 0x60]
mov eax, dword [ebp - 0x60]
mov eax, 0x262ae1d6
mul dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
sub dword [ebp - 0x40], 0x6a4f54a7
mov eax, 0x38066084
mul dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
xor eax, eax
cmp eax, 0x166c480
jg 0x404b62
inc eax
cmp eax, 0x37e3fd1
jl 0x404b53
mov eax, dword [0x481cac]
push esi
push edi
mov dword [0x486afc], eax
call fcn.00404560
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, 0x2ec37
mov edi, edi
cmp dword [0x486afc], 0x51f
jne 0x404b97
lea ecx, [ebp - 0x874]
push ecx
push 0
call esi
sub edi, 1
jne 0x404b80
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10