Function at 0x10063a3
Capabilities:
Check if file exists
Get keyboard layout

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0xa0
mov eax, dword [0x100b660]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push 0x1001754
mov dword [ebp + 0x64], eax
call esi
xor ebx, ebx
cmp eax, ebx
mov dword [0x100c4e8], eax
je 0x10063fb
push 0x1001738
call esi
cmp eax, ebx
mov dword [0x100c4e4], eax
je 0x10063fb
push ebx
call dword [sym.imp.USER32.dll_GetDC]
cmp eax, ebx
mov dword [ebp + 0x20], eax
je 0x10063fb
mov esi, dword [ebp + 0x70]
push esi
call fcn.01005c3a
test eax, eax
jne 0x1006402
xor eax, eax
jmp 0x10067be
push edi
mov edi, dword [sym.imp.USER32.dll_LoadCursorW]
push 0x7f01
push ebx
call edi
push 0x7f02
push ebx
mov dword [0x100cbe8], eax
call edi
push 0x1001728
push esi
mov dword [0x100cbe4], eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
cmp dword [0x100cbe4], ebx
mov dword [0x100c738], eax
je 0x10067bb
cmp eax, ebx
je 0x10067bb
cmp dword [ebp + 0x74], ebx
jne 0x100645a
call fcn.01006026
test eax, eax
je 0x10067bb
mov dword [0x100cbe0], esi
mov dword [0x100c500], 0x54
mov dword [0x100c508], ebx
mov dword [0x100c50c], ebx
mov dword [0x100c53c], esi
call fcn.01003b31
call fcn.010060f0
push ebx
push esi
push ebx
push ebx
push dword [0x100bacc]
mov esi, 0x100135c
push dword [0x100bad0]
push dword [0x100bad8]
push dword [0x100bad4]
push 0xcf0000
push esi
push 0x100b070
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, eax
cmp edx, ebx
mov dword [0x100ba98], edx
mov dword [0x100c504], edx
je 0x10067bb
mov eax, 0x80000000
cmp dword [0x100bad0], eax
je 0x100652c
cmp dword [0x100bacc], eax
je 0x100652c
xor eax, eax
push 0xb
pop ecx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [0x100bad4]
mov ecx, dword [0x100bad0]
mov dword [ebp - 0x1c], eax
add eax, ecx
mov ecx, dword [0x100bacc]
mov dword [ebp - 0x14], eax
mov eax, dword [0x100bad8]
mov dword [ebp - 0x18], eax
add eax, ecx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x38]
push eax
push edx
mov dword [ebp - 0x38], 0x2c
call dword [sym.imp.USER32.dll_SetWindowPlacement]
mov edx, dword [0x100ba98]
push 1
push edx
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
mov edi, dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0xc]
push eax
push dword [0x100ba98]
call edi
mov eax, dword [ebp]
push ebx
push dword [ebp + 0x70]
add eax, 0xffffff9c
push 0xf
push dword [0x100ba98]
push eax
push dword [ebp - 4]
mov eax, dword [0x100bab8]
neg eax
push ebx
sbb eax, eax
push ebx
and eax, 0xfff00000
add eax, 0x50300104
push eax
push esi
push 0x100171c
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExW]
cmp eax, ebx
mov dword [0x100baa0], eax
je 0x10067bb
mov eax, dword [0x100baa8]
neg eax
push 0x401
push dword [0x100ba98]
sbb eax, eax
and eax, 0x10000000
push esi
or eax, 0x44800000
push eax
call dword [sym.imp.COMCTL32.dll_CreateStatusWindowW]
cmp eax, ebx
mov dword [0x100ba9c], eax
je 0x10067bb
push 1
call fcn.0100407d
lea eax, [ebp + 4]
push eax
push dword [0x100ba9c]
call edi
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
push 4
mov dword [0x100c740], eax
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 4]
pop ecx
imul eax, eax, 3
cdq
idiv ecx
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
or dword [ebp + 0x18], 0xffffffff
mov dword [ebp + 0x14], eax
lea eax, [ebp + 0x14]
push eax
push 2
push 0x404
push dword [0x100ba9c]
call esi
push ebx
push dword [0x100bab8]
push 0xc8
push dword [0x100baa0]
call esi
cmp dword [0x100bab8], ebx
je 0x100664d
push dword [0x100ba98]
call dword [sym.imp.USER32.dll_GetMenu]
push 1
push 0x1b
push 3
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 0x2d0
push 0x5a
push dword [ebp + 0x20]
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push dword [0x100b068]
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
mov edi, 0x100cb80
push edi
mov dword [0x100cb80], eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
push dword [ebp + 0x20]
mov dword [0x100cbdc], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp + 0x1c], eax
lea eax, [ebp + 0x24]
push eax
push 0x20
push dword [ebp + 0x20]
call dword [sym.imp.GDI32.dll_GetTextFaceW]
push dword [ebp + 0x1c]
push dword [ebp + 0x20]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x100cb9c
lea eax, [ebp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10066e9
push edi
push 0x1006013
push 0x100cb9c
push dword [ebp + 0x20]
call dword [sym.imp.GDI32.dll_EnumFontsW]
push dword [0x100cbdc]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [0x100cbdc], eax
push ebx
push dword [0x100cbdc]
push 0x30
push dword [0x100baa0]
call esi
push dword [ebp + 0x20]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
push 2
push 0x42
mov word [0x100c860], bx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push ebx
push ebx
push 0xc5
push dword [0x100baa0]
mov dword [0x100cbec], eax
call dword [sym.imp.USER32.dll_PostMessageW]
push dword [0x100b090]
call fcn.01004a8c
push dword [ebp + 0x7c]
push dword [0x100ba98]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x100cbe8]
call dword [sym.imp.USER32.dll_SetCursor]
push dword [ebp + 0x78]
call fcn.01005cf1
or dword [0x100badc], 0xffffffff
mov ecx, 0x1001714
mov edi, eax
call fcn.01005ae7
test eax, eax
jne 0x100677a
mov dword [0x100badc], ebx
jmp 0x100679d
mov eax, edi
mov ecx, 0x100170c
call fcn.01005ae7
test eax, eax
jne 0x1006794
mov dword [0x100badc], 1
cmp dword [0x100badc], 0xffffffff
je 0x10067a8
add edi, 4
push edi
call fcn.01005cf1
mov edi, eax
push edi
call fcn.01005d0b
cmp eax, ebx
je 0x10067cf
cmp eax, 2
jne 0x10068ab
xor eax, eax
pop edi
mov ecx, dword [ebp + 0x64]
pop esi
pop ebx
call fcn.01008caa
add ebp, 0x68
leave
ret 0x10
push dword [ebp + 0x7c]
push edi
call fcn.01005e61
test eax, eax
je 0x10067f1
push ebx
push ebx
push 0x10
push dword [0x100ba98]
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
inc eax
jmp 0x10067bd
cmp word [edi], bx
je 0x10068ab
push edi
mov edi, 0x100c960
push edi
call fcn.01005b2d
push ebx
push 0x80
push 3
push ebx
push 3
push 0x80000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [0x100c4e0], eax
jne 0x100689f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1006878
push 0x33
push edi
push dword [0x100b088]
push dword [0x100b0a4]
push dword [0x100ba98]
call fcn.0100438f
cmp eax, 2
je 0x10067bb
cmp eax, 6
jne 0x1006896
push ebx
push 0x80
push 4
push ebx
push 3
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x100c4e0], eax
jmp 0x1006896
push edi
call fcn.01006bfd
push dword [0x100b090]
call fcn.01004a8c
push dword [0x100b090]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [0x100c4e0], 0xffffffff
je 0x10068ab
push dword [0x100badc]
push edi
call fcn.01006f45
push 0x100c640
call fcn.01005fba
push 0x100c5a0
call fcn.01005fba
mov edx, dword [0x100ba98]
push 0x16
pop ecx
xor eax, eax
push 0xa
mov edi, 0x100c6e0
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x70]
pop ecx
mov dword [0x100c6e8], eax
xor eax, eax
mov edi, 0x100c560
rep stosd dword es:[edi], eax
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp + 0x7c]
push eax
push 0xb0
push dword [0x100baa0]
mov dword [0x100c6e0], 0x58
mov dword [0x100c6e4], edx
mov dword [0x100c700], 0x104
mov dword [0x100c560], 0x28
mov dword [0x100c564], edx
call esi
push dword [ebp + 0x70]
push dword [ebp + 0x7c]
push 0xb1
push dword [0x100baa0]
call esi
push ebx
push ebx
push 0xb7
push dword [0x100baa0]
call esi
push ebx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
and ax, 0x3ff
cmp ax, 0x11
jne 0x10067ec
push 1
push 1
push 0xd8
push dword [0x100baa0]
call esi
jmp 0x10067ec