Function at 0x415de0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x453d2b
mov eax, dword fs:[0]
push eax
mov eax, 0x1228
call fcn.0043c050
mov eax, dword [0x46f7c0]
xor eax, esp
mov dword [esp + 0x1224], eax
push ebx
push esi
push edi
mov eax, dword [0x46f7c0]
xor eax, esp
push eax
lea eax, [esp + 0x1238]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1248]
xor ebx, ebx
push 0x103
lea eax, [esp + 0x135]
push ebx
push eax
mov byte [esp + 0x13c], bl
call fcn.0043b8e0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x134]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov esi, eax
cmp esi, ebx
je 0x415fcf
cmp esi, 0x104
ja 0x415fcf
push 0x103
lea edx, [esp + 0x31]
push ebx
push edx
mov byte [esp + 0x38], bl
call fcn.0043b8e0
push edi
lea eax, [esp + 0x140]
push eax
push str._s_s
push 0xffffffffffffffff
lea ecx, [esp + 0x48]
push 0x104
push ecx
call fcn.0043c5b4
add esp, 0x24
cmp eax, ebx
jg 0x415f2f
push 0x7ff
lea edx, [esp + 0x239]
push ebx
push edx
mov byte [esp + 0x240], bl
call fcn.0043b8e0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._snprintf_failed.__ErrorCode:__d
push 0xffffffffffffffff
lea eax, [esp + 0x240]
push 0x800
push eax
call fcn.0043c5b4
add esp, 0x14
push 3
mov byte [esp + eax + 0x238], bl
call fcn.00417630
mov ecx, eax
call fcn.00417640
test al, al
je 0x4160a0
lea ecx, [esp + 0x234]
push ecx
push 0x45d98c
push 0x3d
push 0x45d9b0
push 3
call fcn.00417630
mov ecx, eax
call fcn.00406b70
jmp 0x4160a0
lea edx, [esp + 0x2c]
push edx
mov byte [esp + eax + 0x30], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
cmp esi, ebx
jne 0x415fc8
push 0x7ff
lea eax, [esp + 0xa39]
push ebx
push eax
mov byte [esp + 0xa40], bl
call fcn.0043b8e0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x30]
push ecx
push str.LoadLibrary__s__failed.__ErrorCode:__d
push 0xffffffffffffffff
lea edx, [esp + 0xa44]
push 0x800
push edx
call fcn.0043c5b4
add esp, 0x18
push 3
mov byte [esp + eax + 0xa38], bl
call fcn.00417630
mov ecx, eax
call fcn.00417640
test al, al
je 0x415fc8
lea eax, [esp + 0xa34]
push eax
push str.JRE_System_LoadLibrary
push 0x47
push 0x45da60
push 3
call fcn.00417630
mov ecx, eax
call fcn.00406b70
mov eax, esi
jmp 0x4160a2
push 0x7ff
lea ecx, [esp + 0x239]
push ebx
push ecx
mov byte [esp + 0x240], bl
call fcn.0043b8e0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.GetSystemDirectory_failed.__Return_Code:__d__ErrorCode:__d
push 0xffffffffffffffff
lea edx, [esp + 0x244]
push 0x800
push edx
call fcn.0043c5b4
add esp, 0x18
push 3
mov byte [esp + eax + 0x238], bl
call fcn.00417630
mov ecx, eax
call fcn.00417640
test al, al
je 0x4160a0
call fcn.00417630
mov esi, eax
lea eax, [esp + 0x234]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x416050
sub eax, edx
push eax
lea eax, [esp + 0x238]
push eax
lea ecx, [esp + 0x18]
call fcn.00405990
lea ecx, [esp + 0x10]
push ecx
push 0x45d8e4
push 0x33
push 0x45d920
push 3
mov ecx, esi
mov dword [esp + 0x1254], ebx
call fcn.00419b70
cmp dword [esp + 0x24], 0x10
jb 0x4160a0
mov edx, dword [esp + 0x10]
push edx
call fcn.0043a71e
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x1238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1224]
xor ecx, esp
call fcn.0043b8c7
add esp, 0x1234
ret