Function at 0x403aa2
Capabilities:
Identify system language via api

Disassembly:
mov eax, 0x42d20c
call fcn.0042c930
sub esp, 0x3c
mov al, byte [0x438c0c]
push ebx
push esi
push edi
mov edi, ecx
push eax
mov dword [ebp - 0x20], edi
call dword [sym.imp.USER32.dll_IsCharUpperA]
add byte [0x438beb], al
xor ebx, ebx
movsx eax, byte [0x438bf0]
push eax
mov dword [ebp - 0x18], ebx
push dword [0x438c1c]
call fcn.00410246
add dword [0x438c20], eax
movsx eax, word [0x438bfc]
push eax
push 0x5f45ffff
call fcn.0041020b
add word [0x438bf6], ax
mov eax, dword [edi + 0x1c]
add esp, 0x10
lea edx, [ebp - 0x18]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x48]
mov esi, eax
movsx eax, byte [0x438bea]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
inc dword [0x438c0c]
cmp esi, ebx
mov dword [0x438c08], eax
jl 0x403ca4
cmp dword [ebp - 0x18], ebx
je 0x403ca4
sub dword [0x438c20], 0x2ed5ffff
mov dword [ebp - 0x14], ebx
push 0x432730
lea eax, [ebp - 0x14]
push dword [ebp - 0x18]
mov dword [ebp - 4], ebx
push eax
call fcn.004079d6
call dword [sym.imp.USER32.dll_GetActiveWindow]
add byte [0x438beb], al
movsx eax, word [0x438bf6]
push eax
movsx eax, byte [0x438be9]
push eax
call fcn.004100f9
pop ecx
mov word [0x438c00], ax
mov eax, dword [ebp - 0x18]
pop ecx
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov al, byte [0x438bf1]
push 0x3f31ffff
dec al
mov byte [0x438be9], al
movsx eax, byte [0x438bec]
push eax
call fcn.004100f9
add word [0x438bf2], ax
push dword [0x438c24]
movsx eax, word [0x438bf2]
push eax
call fcn.00410092
push 0x495bffff
push 0x9adbffff
mov byte [0x438bea], al
mov dword [ebp - 0x18], ebx
call fcn.0041020b
add word [0x438bfa], ax
mov al, byte [0x438bf6]
or al, byte [0x438beb]
add esp, 0x18
mov byte [0x438bf0], al
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x403ca4
mov dword [ebp - 0x10], ebx
cmp dword [edi + 0x4c], ebx
mov byte [ebp - 4], 1
jbe 0x403ccd
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
mov ecx, dword [eax]
push edx
push 0x438118
push eax
call dword [ecx]
cmp dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 2
je 0x403c83
lea ecx, [ebp - 0x28]
call fcn.00425cdf
mov eax, dword [edi + 0x48]
mov byte [ebp - 4], 3
cmp eax, ebx
jne 0x403c45
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
lea ecx, [ebp - 0x28]
call fcn.00405b7a
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x10]
push edx
push dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xb8]
cmp dword [ebp - 0x10], ebx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
jne 0x403cb7
call fcn.00425d5d
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x403c83
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x403c93
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x403ca4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
call fcn.00425d5d
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x403ccd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp + 8]
mov ecx, edi
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.00405c4b
test al, al
jne 0x404009
mov al, byte [ebp + 0xb]
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x38], al
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
push ebx
lea eax, [ebp - 0x48]
push dword [ebp - 0x10]
mov ecx, edi
mov byte [ebp - 4], 4
push dword [ebp - 0x14]
push eax
call fcn.00404054
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 5
call fcn.00407b61
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.00407bda
push dword [ebp + 8]
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.004036e9
test al, al
jne 0x403ffd
mov al, byte [0x438bea]
xor edi, edi
imul byte [0x438bf0]
add byte [0x438bec], al
movsx ax, byte [0x438be8]
imul eax, dword [0x438c08]
mov word [0x438bf6], ax
movsx eax, word [0x438bfc]
push eax
push 0xc417ffff
call fcn.004101be
mov word [0x438c02], ax
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x30]
pop ecx
pop ecx
je 0x403ddc
lea esi, [eax + 4]
movsx eax, byte [0x438bee]
push eax
push dword [0x438c0c]
call fcn.00410092
push 0xca7fffff
push 0xa2a9ffff
mov word [0x438bf6], ax
call fcn.00410130
add dword [0x438c0c], eax
mov ecx, dword [esi]
add esp, 0x10
cmp ecx, ebx
jne 0x403dc7
xor eax, eax
jmp 0x403dcf
mov eax, dword [esi + 4]
sub eax, ecx
sar eax, 3
add esi, 0x10
add edi, eax
lea eax, [esi - 4]
cmp eax, dword [ebp - 0x30]
jne 0x403d8c
movsx eax, byte [0x438beb]
push eax
push 0xcfd7ffff
call fcn.0041020b
add byte [0x438be8], al
push 0x457ffff
movsx eax, word [0x438bf6]
push eax
call fcn.00410246
add word [0x438bf4], ax
add esp, 0x10
call dword [sym.imp.USER32.dll_GetCapture]
cmp edi, ebx
mov word [0x438c00], ax
jne 0x403e31
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.00407b2e
jmp 0x403c83
push 0x1083ffff
push dword [0x438c1c]
call fcn.004101be
push dword [0x438c18]
mov byte [0x438beb], al
push dword [0x438c24]
call fcn.00410167
push 0x8dcdffff
push 0x4335ffff
mov word [0x438bf2], ax
call fcn.004101be
add dword [0x438c08], eax
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
add word [0x438c02], ax
call dword [sym.imp.MSVCRT.dll_rand]
cdq
idiv edi
mov edi, edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x9f27ffff
push 0x923fffff
mov byte [0x438bea], al
call fcn.00410167
mov dword [0x438c1c], eax
movsx eax, word [0x438bf2]
push eax
push dword [0x438c08]
call fcn.00410092
mov esi, dword [ebp - 0x34]
add dword [0x438c08], eax
add esp, 0x10
cmp esi, dword [ebp - 0x30]
je 0x403fe5
mov dx, word [0x438bf4]
cmp dword [0x438c08], ebx
jne 0x403eec
cmp dx, bx
jne 0x403eec
xor eax, eax
jmp 0x403eef
push 1
pop eax
add dword [0x438c08], eax
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x403f08
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 3
cmp edi, ecx
jb 0x403f44
add dword [0x438c24], 0x4589ffff
mov dword [0x438c10], 0xf5bfffff
mov byte [0x438be9], dl
mov ecx, dword [esi + 4]
cmp ecx, ebx
jne 0x403f2d
xor eax, eax
jmp 0x403f35
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 3
add esi, 0x10
sub edi, eax
cmp esi, dword [ebp - 0x30]
jne 0x403edb
jmp 0x403fe5
push dword [0x438c18]
mov dword [0x438c14], 0xdf3dffff
push dword [0x438c10]
call fcn.004101be
add dword [0x438c14], eax
movsx eax, word [0x438bfc]
push eax
movsx eax, word [0x438bf4]
push eax
call fcn.00410130
mov dword [0x438c10], eax
movsx eax, word [0x438bf8]
push eax
movsx eax, word [0x438bf4]
push eax
call fcn.00410285
add dword [0x438c24], eax
add esp, 0x18
mov ecx, esi
push dword [ebp + 8]
push edi
call fcn.00407c0d
push ecx
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.00404031
mov ecx, dword [ebp - 0x20]
call fcn.00405250
movsx eax, byte [0x438bec]
movsx ecx, byte [0x438beb]
sub ecx, eax
movsx eax, byte [0x438bf0]
and eax, dword [0x438c14]
mov dword [0x438c0c], ecx
mov dword [0x438c28], eax
push dword [0x438c10]
push 0xbfcbffff
call fcn.004101be
pop ecx
mov word [0x438bf2], ax
pop ecx
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.00407b2e
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x404019
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x40402a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, 1
jmp 0x403ca6