Function at 0x40bddb
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc3c
mov eax, dword [0x43c0c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
mov edi, ecx
mov dword [ebp - 0xc3c], esi
call fcn.0040a481
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00412a00
push 0x208
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.00412a00
push 0x208
lea eax, [ebp - 0xa2c]
push ebx
push eax
call fcn.00412a00
push 0x208
lea eax, [ebp - 0x824]
push ebx
push eax
call fcn.00412a00
push 0x208
lea eax, [ebp - 0xc34]
push ebx
push eax
call fcn.00412a00
add esp, 0x3c
lea eax, [ebp - 0xa2c]
mov ebx, 0x104
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0xa2c]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0041822f
lea eax, [ebp - 0x414]
push 0x42b54c
push eax
call fcn.0041822f
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x824]
push eax
call fcn.004182a0
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0041822f
lea eax, [ebp - 0x414]
push str..ime
push eax
call fcn.0041822f
add esp, 0x28
mov ecx, edi
call fcn.0040f85c
test eax, eax
je 0x40c03a
lea eax, [ebp - 0xc38]
mov ecx, edi
push eax
call fcn.0040fa49
push ebx
lea eax, [ebp - 0x61c]
mov ecx, edi
push eax
call fcn.0040f7ca
lea eax, [ebp - 0x61c]
push 0x42b54c
push eax
call fcn.0041822f
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.0041822f
lea eax, [ebp - 0x61c]
push str..ime
push eax
call fcn.0041822f
mov ebx, dword [ebp + 0x10]
add esp, 0x18
test ebx, ebx
je 0x40bfab
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00412a00
lea eax, [ebp - 0x414]
mov esi, str._sregsvr32.exe__s__u__s
push eax
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0040568b
lea eax, [ebp - 0x20c]
push eax
call fcn.00408997
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0xc34]
push eax
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0040568b
lea eax, [ebp - 0x20c]
push eax
call fcn.00408997
lea eax, [ebp - 0x20c]
push eax
push str.UnRegisterIME_Cmd:_s
call fcn.0040c1b5
add esp, 0x3c
lea eax, [ebp - 0x61c]
mov ecx, edi
push eax
call fcn.0040bdb1
mov esi, eax
push esi
push str.UnDeleteIme_Return:_d
call fcn.0040c1b5
pop ecx
pop ecx
mov ecx, edi
cmp esi, 0xfffffffe
jne 0x40bfe1
push dword [ebp - 0xc38]
call fcn.0040fa67
xor eax, eax
jmp 0x40c0ba
lea eax, [ebp - 0x414]
push eax
call fcn.0040bdb1
push dword [ebp - 0xc38]
mov ecx, edi
mov esi, eax
call fcn.0040fa67
cmp esi, 0xfffffffe
je 0x40bfda
mov esi, dword [ebp - 0xc3c]
test ebx, ebx
je 0x40c0af
lea eax, [ebp - 0x20c]
push str.0804:8F233D5B_E44C_47DE_B1CC_2C92FEDE6CE17556EAD1_4C0B_4090_9994_A55D790D0752
push eax
call fcn.004182a0
pop ecx
pop ecx
push 0
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.0040a763
xor eax, eax
inc eax
jmp 0x40c0ba
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x40c093
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00412a00
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x20c]
push str._sregsvr32.exe__s__u__s
push eax
call fcn.0040568b
lea eax, [ebp - 0x20c]
push eax
call fcn.00408997
lea eax, [ebp - 0x20c]
push eax
push str.UnRegisterIME_regsvr:_s
call fcn.0040c1b5
add esp, 0x28
lea eax, [ebp - 0x414]
mov ecx, edi
push eax
call fcn.0040bdb1
cmp eax, 0xfffffffe
jne 0x40c007
jmp 0x40bfda
push esi
push dword [ebp + 8]
mov ecx, edi
call fcn.0040c0cd
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040e0e7
mov esp, ebp
pop ebp
ret 0xc