Function at 0x40a8eb
Capabilities:
Identify system language via api

Disassembly:
mov eax, 0x52a857
call fcn.004c9d2c
sub esp, 0x6c
push ebx
mov ebx, ecx
xor eax, eax
push esi
push edi
inc eax
and dword [ebx + 0xd8], 0
lea edi, [ebx + 4]
push eax
push dword [edi]
mov dword [ebx + 0xbc], eax
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
push 0xe801
push 0x56000100
push 0xe001
mov ecx, ebx
call fcn.00408439
xor ecx, ecx
push ecx
push ecx
mov eax, esp
push 0x100
push 0x56200144
push ecx
mov dword [eax], ecx
push ecx
mov eax, esp
lea ecx, [ebx + 0x44]
mov dword [eax], section..data
push dword [edi]
call fcn.00408295
push 0
push 0x80000000
push 0xc5
lea esi, [ebx + 0x48]
mov dword [ebx + 0x2c], eax
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi]
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x18], eax
and dword [ebp - 4], 0
push 0x5a
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x48
mov edi, eax
push edi
push dword [ebx + 0xe4]
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [ebp - 0x10], eax
mov eax, 0x28a
cmp dword [ebx + 0xdc], eax
jne 0x40a9dd
cmp dword [ebx + 0xe0], 0x1f4
jne 0x40a9dd
push 0x60
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push edi
push dword [ebx + 0xe0]
mov dword [ebx + 0xdc], eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [ebx + 0xe0], eax
lea eax, [ebx + 0xf4]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0041362a
pop ecx
pop ecx
cmp dword [eax + 0x14], 7
jbe 0x40a9f7
mov eax, dword [eax]
push eax
xor eax, eax
push eax
push eax
push eax
push eax
push 1
push eax
push eax
push eax
push 0x190
push eax
push eax
push eax
mov eax, dword [ebp - 0x10]
neg eax
push eax
call dword [sym.imp.GDI32.dll_CreateFontW]
lea ecx, [ebp - 0x78]
mov dword [ebx + 0x68], eax
call fcn.0041207a
push 1
push dword [ebx + 0x68]
push 0x30
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x60
push edi
push 0x14
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 3
push eax
push eax
mov ecx, esi
call fcn.0040fac6
cmp dword [ebx + 0x7c], 0
je 0x40aa75
lea eax, [ebx + 0x6c]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0041362a
pop ecx
pop ecx
cmp dword [eax + 0x14], 7
jbe 0x40aa64
mov eax, dword [eax]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x78]
call fcn.0041207a
xor eax, eax
lea edi, [ebp - 0x48]
stosd dword es:[edi], eax
push 0xf
pop esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], esi
mov byte [ebp - 0x48], al
push eax
push 0x105
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00412148
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
push esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0x20], 0
pop edi
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x30], 0
cmp dword [ebp - 0x34], edi
lea eax, [ebp - 0x48]
push 0x104
cmova eax, dword [ebp - 0x48]
push eax
mov byte [ebp - 4], 2
call fcn.004096bc
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov esi, 0x542d84
push esi
call fcn.004dcc60
cmp dword [ebp - 0x34], edi
lea ecx, [ebp - 0x48]
push eax
cmova ecx, dword [ebp - 0x48]
push esi
push 0xffffffffffffffff
push dword [ebp - 0x38]
push ecx
call fcn.00402d83
add esp, 0x18
cmp eax, 0xffffffff
je 0x40ab54
cmp dword [ebp - 0x34], edi
lea esi, [ebp - 0x48]
cmova esi, dword [ebp - 0x48]
inc eax
add esi, eax
push esi
call fcn.004dcc60
pop ecx
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.00412257
mov esi, 0x542d88
push esi
call fcn.004dcc60
cmp dword [ebp - 0x1c], edi
lea ecx, [ebp - 0x30]
push eax
cmova ecx, dword [ebp - 0x30]
push esi
push 0xffffffffffffffff
push dword [ebp - 0x20]
push ecx
call fcn.00402d83
add esp, 0x18
cmp eax, 0xffffffff
je 0x40ab54
cmp dword [ebp - 0x1c], edi
lea ecx, [ebp - 0x30]
cmova ecx, dword [ebp - 0x30]
mov byte [ecx + eax], 0
xor eax, eax
lea edi, [ebp - 0x60]
stosd dword es:[edi], eax
push 0xf
pop esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], esi
mov byte [ebp - 0x60], al
push eax
mov edi, 0x168
mov byte [ebp - 4], 3
push edi
lea ecx, [ebp - 0x60]
call fcn.00412148
lea eax, [ebp - 0x78]
push 0x80
push eax
call fcn.0040f22f
cmp dword [ebp - 0x4c], esi
lea edx, [ebp - 0x60]
pop ecx
cmova edx, dword [ebp - 0x60]
pop ecx
mov ecx, eax
cmp dword [ecx + 0x14], esi
jbe 0x40aba1
mov ecx, dword [ecx]
cmp dword [ebp - 0x1c], esi
lea eax, [ebp - 0x30]
push ecx
cmova eax, dword [ebp - 0x30]
push eax
push str._s____s
push edi
push edx
call fcn.00413b1e
add esp, 0x14
lea ecx, [ebp - 0x78]
call fcn.00412054
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, 0x58fa20
call fcn.0040966a
mov esi, eax
lea ecx, [ebx + 0x34]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ecx
push eax
lea ecx, [esi + 4]
call fcn.00406b05
lea ecx, [ebx + 0x38]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ecx
push eax
lea ecx, [esi + 0x10]
call fcn.00406a85
lea eax, [ebp - 0x78]
mov ecx, ebx
push eax
call fcn.00409859
push eax
lea ecx, [ebx + 0x8c]
call fcn.00405adb
lea ecx, [ebp - 0x78]
call fcn.00412054
lea eax, [ebx + 0x88]
push eax
lea ecx, [ebx + 0x84]
push ecx
push 0xb0
lea esi, [ebx + 0x48]
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, ebx
call fcn.00410278
cmp dword [ebx + 0xe8], 0
jne 0x40ac59
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
and eax, 0x1ff
mov dword [ebx + 0xe8], eax
movzx eax, word [ebx + 0xe8]
mov ecx, ebx
push eax
call fcn.00407e42
push 6
push dword [ebx + 0xe0]
xor eax, eax
lea edi, [ebx + 4]
push dword [ebx + 0xdc]
push eax
push eax
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
mov ecx, edi
call fcn.004078d3
push dword [esi]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0x84]
mov ecx, esi
add eax, 2
push 0
push eax
push eax
call fcn.0040fb32
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0041362a
pop ecx
pop ecx
cmp dword [eax + 0x14], 7
jbe 0x40acc2
mov eax, dword [eax]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x78]
call fcn.0041207a
mov ecx, ebx
call fcn.00410c68
lea ecx, [ebp - 0x60]
call fcn.00412054
lea ecx, [ebp - 0x30]
call fcn.00412054
lea ecx, [ebp - 0x48]
call fcn.00412054
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10