Function at 0x627448
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x627450
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x627766
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
movzx eax, byte [0x627774]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov cl, 1
mov dl, 1
mov al, 1
call fcn.006344f0
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov edx, 0x627784
call fcn.00424c7c
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov eax, 0x627794
call fcn.0062924c
lea eax, [ebp - 0x1c]
call fcn.00635b6c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x6274b7
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x6274e0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
call fcn.00635b6c
mov edx, dword [ebp - 0x24]
xor ecx, ecx
mov eax, 0x6277a8
call fcn.0062924c
mov edx, dword [ebp - 0x20]
mov eax, ebx
call fcn.00408510
call fcn.00634c58
test al, al
je 0x627508
lea eax, [ebp - 0x28]
push eax
xor ecx, ecx
mov edx, 0x6277bc
mov eax, 0x6277d0
call fcn.0062924c
mov edx, dword [ebp - 0x28]
mov eax, ebx
call fcn.00408510
call fcn.006359cc
test al, al
je 0x627536
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
call fcn.00635f8c
mov edx, dword [ebp - 0x30]
xor ecx, ecx
mov eax, 0x6277e4
call fcn.0062924c
mov edx, dword [ebp - 0x2c]
mov eax, ebx
call fcn.00408510
call sub.kernel32.dll_GetUserDefaultUILanguage_1
movzx eax, ax
xor edx, edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x627554
cmp dword [ebp - 8], 0
jbe 0x627594
jmp 0x627556
jle 0x627594
call sub.kernel32.dll_GetSystemDefaultLangID
movzx eax, ax
xor edx, edx
cmp edx, dword [ebp - 4]
jne 0x627568
cmp eax, dword [ebp - 8]
je 0x627594
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x38]
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.00626678
mov edx, dword [ebp - 0x38]
xor ecx, ecx
mov eax, 0x6277f8
call fcn.0062924c
mov edx, dword [ebp - 0x34]
mov eax, ebx
call fcn.00408510
lea edx, [ebp - 0x10]
lea eax, [ebp - 8]
call fcn.00633440
push dword [ebx]
lea eax, [ebp - 0x3c]
push eax
call sub.kernel32.dll_GetSystemDefaultLangID
movzx eax, ax
lea ecx, [ebp - 0x40]
mov edx, 4
call fcn.0041cc58
mov edx, dword [ebp - 0x40]
xor ecx, ecx
mov eax, 0x62780c
call fcn.0062924c
push dword [ebp - 0x3c]
lea eax, [ebp - 0x44]
push eax
call sub.kernel32.dll_GetSystemDefaultLangID
movzx eax, ax
lea ecx, [ebp - 0x48]
mov dl, 1
call fcn.00626678
mov edx, dword [ebp - 0x48]
xor ecx, ecx
mov eax, 0x62781c
call fcn.0062924c
push dword [ebp - 0x44]
call sub.kernel32.dll_GetACP_1
mov edx, eax
lea ecx, [ebp - 0x4c]
mov eax, 0x627830
call fcn.00629338
push dword [ebp - 0x4c]
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x54]
mov al, 1
call fcn.00626864
mov edx, dword [ebp - 0x54]
xor ecx, ecx
mov eax, 0x627844
call fcn.0062924c
push dword [ebp - 0x50]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
call fcn.006366b4
mov edx, dword [ebp - 0x5c]
xor ecx, ecx
mov eax, 0x627858
call fcn.0062924c
push dword [ebp - 0x58]
call fcn.006259e4
mov edx, eax
lea ecx, [ebp - 0x60]
mov eax, 0x627870
call fcn.00629338
push dword [ebp - 0x60]
call fcn.006340a8
mov edx, eax
lea ecx, [ebp - 0x64]
mov eax, 0x627884
call fcn.00629338
push dword [ebp - 0x64]
fild qword [ebp - 8]
fdiv dword [0x62788c]
call fcn.004052bc
mov edx, eax
lea ecx, [ebp - 0x68]
mov eax, 0x62789c
call fcn.00629338
push dword [ebp - 0x68]
mov eax, dword [0x687f58]
mov eax, dword [eax]
call fcn.005af56c
mov edx, eax
lea ecx, [ebp - 0x6c]
mov eax, 0x6278b0
call fcn.00629338
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x70]
mov eax, dword [0x687f58]
mov eax, dword [eax]
mov edx, dword [eax + 0x48]
mov eax, 0x6278c0
call fcn.00629338
push dword [ebp - 0x70]
lea ecx, [ebp - 0x74]
mov edx, 0x20
mov eax, 0x6278d4
call fcn.00629338
push dword [ebp - 0x74]
mov eax, ebx
mov edx, 0xc
call fcn.004085f0
mov eax, dword [0x687f58]
mov eax, dword [eax]
call fcn.005af5a8
dec eax
jle 0x627724
mov eax, dword [0x687f58]
mov eax, dword [eax]
call fcn.005af5a8
mov edx, eax
lea ecx, [ebp - 0x78]
mov eax, 0x6278e8
call fcn.00629338
mov edx, dword [ebp - 0x78]
mov eax, ebx
call fcn.00408510
movzx eax, byte [0x627774]
push eax
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebx]
mov ecx, 0x6278fc
mov edx, 0x627784
call fcn.00424c7c
mov edx, dword [ebp - 0x7c]
mov eax, ebx
call fcn.00407874
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62776d
lea eax, [ebp - 0x7c]
mov edx, 0x1b
call fcn.004074f4
ret