Function at 0x4e5b10
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
push ebp
mov eax, 0xffffffff
mov dword [ecx + 4], ebx
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], eax
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], eax
mov dword [ecx + 0x9a8], ebx
mov dword [ecx], 0x553b78
mov ebp, ecx
push 0x3f800000
mov dword [0x7ddf7c], ebx
mov dword [0x7be864], ebx
mov byte [0x7be870], bl
mov dword [0x7ddf68], ebx
call fcn.004eb4b0
push ebx
mov ecx, ebp
call fcn.004eb4a0
push ebx
mov ecx, ebp
call fcn.004eb4f0
push ebx
mov ecx, ebp
call fcn.004eb500
push 1
mov ecx, ebp
call fcn.004eb510
push ebx
mov ecx, ebp
call fcn.004eb530
push 8
mov ecx, ebp
push 0x60
push 0x60
call fcn.004eb550
push ebx
mov ecx, ebp
call fcn.004eb580
push 1
mov ecx, ebp
call fcn.004eb590
push ebx
mov ecx, ebp
call fcn.004eb5a0
push 1
mov ecx, ebp
call fcn.004eb5b0
push 1
mov ecx, ebp
call fcn.004eb5c0
push ebx
mov ecx, ebp
call fcn.004eb5e0
push ebx
mov ecx, ebp
call fcn.004eb660
push 0
mov ecx, ebp
push ebx
call fcn.004eb640
push 0
mov ecx, ebp
push ebx
call fcn.004eb5f0
push 0
mov ecx, ebp
push ebx
call fcn.004eb610
push 1
mov ecx, ebp
push ebx
call fcn.004eb670
inc ebx
cmp ebx, 9
jl 0x4e5bcb
xor ebx, ebx
mov ecx, ebp
push ebx
call fcn.004eb690
push ebx
mov ecx, ebp
call fcn.004eb6a0
push 4
mov ecx, ebp
call fcn.004eb5d0
push 0x55f1e4
mov ecx, ebp
call fcn.004eb4c0
mov eax, dword [esp + 0x14]
mov dword [0x5681d8], ebp
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x18], 1
mov dword [ebp + 0x24], ebx
mov dword [0x7ddf84], ebx
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x4c], ebx
mov dword [ebp + 0x54], ebx
mov word [ebp + 0x68], bx
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x64], ebx
mov dword [ebp + 0x6c], ebx
mov byte [ebp + 0x70], bl
mov dword [ebp + 0x74], ebx
mov dword [ebp + 0x78], ebx
mov dword [ebp + 0x7c], ebx
mov byte [ebp + 0x80], bl
mov dword [ebp + 0x184], ebx
mov dword [ebp + 0x188], ebx
mov dword [ebp + 0x18c], ebx
mov dword [ebp + 0x1a4], ebx
mov dword [ebp + 0x1a8], ebx
mov dword [ebp + 0x190], ebx
mov dword [ebp + 0x198], ebx
mov dword [ebp + 0x19c], ebx
mov dword [ebp + 0x194], ebx
mov dword [ebp + 0x1ac], ebx
mov dword [ebp + 0x1b0], ebx
mov dword [ebp + 0x1b4], ebx
mov dword [ebp + 0x1b8], ebx
mov dword [ebp + 0x1bc], ebx
mov dword [ebp + 0x1c0], ebx
mov dword [ebp + 0x1c4], ebx
mov byte [ebp + 0x50], 2
push 0x7f00
mov dword [ebp + 0x1c8], ebx
mov dword [ebp + 0x1a0], 1
mov dword [ebp + 0x1cc], 1
mov dword [ebp + 0x1d0], 1
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
mov word [ebp + 0x1e0], bx
lea ecx, [ebp + 0x1e8]
push ecx
mov edi, str.language.dll
push 0x105
mov dword [ebp + 0x1d4], eax
mov dword [ebp + 0x1e4], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edx, 0xffffffff
sub eax, eax
mov ecx, edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea edi, [ebp + 0x2ed]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov word [ebp + 0x3fc], dx
mov dword [ebp + 0x3f4], ebx
mov word [ebp + 0x3fe], dx
mov byte [ebp + 0x404], bl
mov word [ebp + 0x400], dx
mov dword [ebp + 0x504], ebx
mov dword [ebp + 0x508], ebx
mov dword [ebp + 0x50c], ebx
mov dword [ebp + 0x510], ebx
mov dword [ebp + 0x514], ebx
mov dword [ebp + 0x518], ebx
mov dword [ebp + 0x51c], ebx
mov dword [ebp + 0x520], ebx
mov dword [ebp + 0x524], ebx
lea ecx, [ebp + 0x528]
mov eax, 0x1e
mov dword [ebp + 0x3f8], 1
mov word [ebp + 0x402], 1
mov dword [ebp + 0x8f4], ebx
mov dword [ecx], ebx
add ecx, 0x20
dec eax
mov dword [ecx - 0x1c], ebx
mov dword [ecx - 0x18], ebx
mov dword [ecx - 0xc], ebx
mov dword [ecx - 8], ebx
mov dword [ecx - 4], ebx
mov dword [ecx - 0x14], ebx
mov dword [ecx - 0x10], ebx
jne 0x4e5dd8
mov dword [ebp + 0x9ac], 1
xor ecx, ecx
mov dword [ebp + 0x8e8], ecx
mov dword [ebp + 0x8ec], ecx
mov dword [ebp + 0x8f0], ecx
mov dword [0x568140], ecx
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x410]
mov dword [0x7be860], edx
mov dword [0x7ddf74], ecx
mov dword [0x7ddf9c], ecx
mov dword [0x7ddfa4], ecx
xor eax, eax
mov dword [0x7ddf8c], ecx
mov dword [0x7ddf94], ecx
mov dword [0x7ddf64], ecx
mov dword [ebp + 8], ecx
mov dword [ebp + eax*4 + 0x9b0], ecx
inc eax
cmp eax, 9
nop
mov byte [ebp + eax + 0xa14], cl
jl 0x4e5e51
xor eax, eax
mov ecx, ebp
mov dword [ebp + 0x9fc], eax
mov dword [ebp + 0xa20], eax
mov dword [ebp + 0xa08], 1
mov dword [ebp + 0xa0c], 0x3f800000
mov dword [ebp + 0xa10], 2
call fcn.004e7fe0
test eax, eax
jne 0x4e5ead
mov dword [ebp + 0x40], 0xe
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
ret 8
mov eax, dword [ebp + 0x1ac]
mov ecx, ebp
mov dword [0x7ddf8c], eax
call fcn.004e8070
test eax, eax
jne 0x4e5ed3
mov dword [ebp + 0x40], 0xf
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
ret 8
mov eax, dword [ebp + 0x1a4]
mov ecx, dword [esp + 0x18]
mov dword [0x568140], eax
test ecx, ecx
je 0x4e5eff
mov ecx, ebp
call fcn.004e5fb0
test eax, eax
jne 0x4e5eff
mov eax, dword [ebp + 0x40]
test eax, eax
jne 0x4e5eff
mov dword [ebp + 0x40], 1
mov dword [ebp + 0x9d4], 0
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
ret 8