Function at 0x438a30
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x473ccb
mov eax, dword fs:[0]
push eax
mov eax, 0x1228
call fcn.00454090
mov eax, dword [0x4a3dc0]
xor eax, esp
mov dword [esp + 0x1224], eax
push ebx
push esi
push edi
mov eax, dword [0x4a3dc0]
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.004547c0
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 0x438c1f
cmp esi, 0x104
ja 0x438c1f
push 0x103
lea edx, [esp + 0x31]
push ebx
push edx
mov byte [esp + 0x38], bl
call fcn.004547c0
push edi
lea eax, [esp + 0x140]
push eax
push 0x48cb2c
push 0xffffffffffffffff
lea ecx, [esp + 0x48]
push 0x104
push ecx
call fcn.00454e68
add esp, 0x24
cmp eax, ebx
jg 0x438b7f
push 0x7ff
lea edx, [esp + 0x239]
push ebx
push edx
mov byte [esp + 0x240], bl
call fcn.004547c0
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.00454e68
add esp, 0x14
push 3
mov byte [esp + eax + 0x238], bl
call fcn.00434cf0
mov ecx, eax
call fcn.00434d00
test al, al
je 0x438cf0
lea ecx, [esp + 0x234]
push ecx
push 0x48cb34
push 0x3d
push 0x48cb58
push 3
call fcn.00434cf0
mov ecx, eax
call fcn.004053c0
jmp 0x438cf0
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 0x438c18
push 0x7ff
lea eax, [esp + 0xa39]
push ebx
push eax
mov byte [esp + 0xa40], bl
call fcn.004547c0
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.00454e68
add esp, 0x18
push 3
mov byte [esp + eax + 0xa38], bl
call fcn.00434cf0
mov ecx, eax
call fcn.00434d00
test al, al
je 0x438c18
lea eax, [esp + 0xa34]
push eax
push str.JRE_System_LoadLibrary
push 0x47
push 0x48cc08
push 3
call fcn.00434cf0
mov ecx, eax
call fcn.004053c0
mov eax, esi
jmp 0x438cf2
push 0x7ff
lea ecx, [esp + 0x239]
push ebx
push ecx
mov byte [esp + 0x240], bl
call fcn.004547c0
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.00454e68
add esp, 0x18
push 3
mov byte [esp + eax + 0x238], bl
call fcn.00434cf0
mov ecx, eax
call fcn.00434d00
test al, al
je 0x438cf0
call fcn.00434cf0
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 0x438ca0
sub eax, edx
push eax
lea eax, [esp + 0x238]
push eax
lea ecx, [esp + 0x18]
call fcn.004042b0
lea ecx, [esp + 0x10]
push ecx
push 0x48ca8c
push 0x33
push 0x48cac8
push 3
mov ecx, esi
mov dword [esp + 0x1254], ebx
call fcn.00434dd0
cmp dword [esp + 0x24], 0x10
jb 0x438cf0
mov edx, dword [esp + 0x10]
push edx
call fcn.004533ae
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.0045407e
add esp, 0x1234
ret