Function at 0x412356
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436f7c
mov eax, dword fs:[0]
push eax
mov eax, 0x1258
call fcn.00429470
mov eax, dword [0x448630]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, 0x103
xor ebx, ebx
push edi
mov dword [ebp - 0x1264], eax
lea eax, [ebp - 0x223]
push ebx
push eax
mov byte [ebp - 0x224], bl
call fcn.0041f900
add esp, 0xc
lea esi, [edi + 1]
push esi
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [ebp - 0x1260], eax
cmp eax, ebx
je 0x41255d
cmp eax, esi
ja 0x41255d
push edi
lea eax, [ebp - 0x11b]
push ebx
push eax
mov byte [ebp - 0x11c], bl
call fcn.0041f900
add esp, 0xc
push dword [ebp - 0x1264]
lea eax, [ebp - 0x224]
push eax
push 0x43cb0c
push 0xffffffffffffffff
lea eax, [ebp - 0x11c]
push esi
push eax
call fcn.0041e983
add esp, 0x18
cmp eax, ebx
jg 0x4124a3
push 0x7ff
lea eax, [ebp - 0xa23]
push ebx
push eax
mov byte [ebp - 0xa24], bl
call fcn.0041f900
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._snprintf_failed.__ErrorCode:__d
push 0xffffffffffffffff
lea eax, [ebp - 0xa24]
push 0x800
push eax
call fcn.0041e983
add esp, 0x14
cmp dword [0x44b6cc], 3
mov byte [ebp + eax - 0xa24], bl
jg 0x4125ed
lea eax, [ebp - 0xa24]
push eax
lea ecx, [ebp - 0x1240]
call fcn.00405ac0
push str.JRE_System_LoadLibrary
push 0x3f
xor esi, esi
push str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u51_3951_install_src_windows_common_AllUtils.cpp
inc esi
push 3
mov edx, eax
mov ecx, 0x44b6cc
mov dword [ebp - 4], esi
call fcn.00412fce
push ebx
push esi
jmp 0x4125e2
mov byte [ebp + eax - 0x11c], bl
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
cmp esi, ebx
jne 0x412556
push 0x7ff
lea eax, [ebp - 0x1223]
push ebx
push eax
mov byte [ebp - 0x1224], bl
call fcn.0041f900
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x11c]
push eax
push str.LoadLibrary__s__failed.__ErrorCode:__d
push 0xffffffffffffffff
lea eax, [ebp - 0x1224]
push 0x800
push eax
call fcn.0041e983
add esp, 0x18
cmp dword [0x44b6cc], 3
mov byte [ebp + eax - 0x1224], bl
jg 0x412556
lea eax, [ebp - 0x1224]
push eax
lea ecx, [ebp - 0x125c]
call fcn.00405ac0
push str.JRE_System_LoadLibrary
push 0x49
push str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u51_3951_install_src_windows_common_AllUtils.cpp
push 3
mov edx, eax
mov ecx, 0x44b6cc
mov dword [ebp - 4], 2
call fcn.00412fce
push ebx
push 1
lea ecx, [ebp - 0x125c]
call fcn.00405dcc
mov eax, esi
jmp 0x4125ef
push 0x7ff
lea eax, [ebp - 0xa23]
push ebx
push eax
mov byte [ebp - 0xa24], bl
call fcn.0041f900
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x1260]
lea eax, [ebp - 0xa24]
push str.GetSystemDirectory_failed.__Return_Code:__d__ErrorCode:__d
push 0xffffffffffffffff
push 0x800
push eax
call fcn.0041e983
add esp, 0x18
cmp dword [0x44b6cc], 3
mov byte [ebp + eax - 0xa24], bl
jg 0x4125ed
lea eax, [ebp - 0xa24]
push eax
lea ecx, [ebp - 0x1240]
call fcn.00405ac0
push str.JRE_System_LoadLibrary
push 0x35
push str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u51_3951_install_src_windows_common_AllUtils.cpp
push 3
mov edx, eax
mov ecx, 0x44b6cc
mov dword [ebp - 4], ebx
call fcn.00412fce
push ebx
push 1
lea ecx, [ebp - 0x1240]
call fcn.00405dcc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041e56d
leave
ret