Function at 0x4714b0
Capabilities:
Identify system language via api

Disassembly:
push 0xffffffffffffffff
push 0x4db4e0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x51d260]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51d260]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x84]
mov ebp, dword [esp + 0x88]
mov esi, ecx
mov ecx, dword [esp + 0x80]
xor ebx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
cmp dword [esi + 0x85c], ebx
jne 0x471b0f
push eax
call fcn.00491fe3
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.user32.dll_GetDC]
push eax
mov dword [esp + 0x2c], eax
call fcn.00491fe3
push ebp
push edi
mov ecx, esi
call fcn.00470330
call dword [sym.imp.kernel32.dll_GetSystemDefaultLangID]
mov ebp, dword [sym.imp.kernel32.dll_GetUserDefaultUILanguage]
mov dword [esi + 0x1bc], ebx
mov dword [esi + 0x1c0], ebx
mov dword [esi + 0x204], ebx
mov dword [esi + 0x208], ebx
and eax, 0x3ff
sub dword [esi + 0x858], eax
mov dword [esi + 0x20c], 1
mov dword [esi + 0x210], ebx
mov dword [esi + 0x214], ebx
call ebp
movzx eax, ax
sub dword [esi + 0x854], eax
mov ecx, dword [edi + 0x3280]
mov dword [esi + 0xd0], ecx
mov eax, dword [edi + 0x3284]
mov dword [esi + 0xd4], eax
mov edx, dword [edi + 0x3288]
add edx, eax
mov dword [esi + 0xc8], edx
mov eax, dword [edi + 0x328c]
mov dword [esi + 0xcc], eax
mov ecx, dword [edi + 0x3290]
mov dword [esi + 0xdc], ecx
mov edx, dword [edi + 0x3294]
mov dword [esi + 0xd8], edx
mov eax, dword [edi + 0x3298]
mov dword [esi + 0xe4], eax
mov ecx, dword [edi + 0x329c]
mov dword [esi + 0xe0], ecx
mov edx, dword [edi + 0x32a0]
mov dword [esi + 0xbc], 0x19
dec edx
mov dword [esi + 0xb8], edx
mov eax, dword [edi + 0x32d8]
mov dword [esi + 0xec], eax
mov ecx, dword [edi + 0x32dc]
mov dword [esi + 0xe8], ecx
mov edx, dword [edi + 0x32e0]
mov dword [esi + 0xf4], edx
mov eax, dword [edi + 0x32e4]
mov dword [esi + 0xf0], eax
mov ecx, dword [edi + 0x32e8]
dec ecx
mov dword [esi + 0xc0], ecx
mov edx, dword [edi + 0x32f0]
mov dword [esi + 0x8b4], edx
mov eax, dword [edi + 0x32f4]
mov dword [esi + 0x8b8], eax
mov ecx, dword [edi + 0x32f8]
mov dword [esi + 0x8bc], ecx
mov edx, dword [edi + 0x32fc]
mov dword [esi + 0x8c0], edx
mov eax, dword [edi + 0x3300]
mov dword [esi + 0x8c4], eax
mov ecx, dword [edi + 0x3304]
mov dword [esi + 0x8c8], ecx
call ebp
movzx edx, ax
sub dword [esi + 0x850], edx
cmp dword [esi + 0x248], 0xffffffff
jne 0x4716a5
mov eax, dword [edi + 0x32ec]
mov dword [esi + 0x248], eax
cmp dword [esi + 0x248], ebx
jne 0x4716e5
mov ecx, dword [esi + 0xdc]
mov edx, dword [esi + 0xd8]
mov eax, dword [esi + 0xe4]
mov dword [esi + 0x234], ecx
mov ecx, dword [esi + 0xe0]
mov dword [esi + 0x238], edx
mov edx, dword [esi + 0xb8]
mov dword [esi + 0x240], eax
lea eax, [esi + 0x558]
jmp 0x47171b
mov ecx, dword [esi + 0xec]
mov edx, dword [esi + 0xe8]
mov eax, dword [esi + 0xf4]
mov dword [esi + 0x234], ecx
mov ecx, dword [esi + 0xf0]
mov dword [esi + 0x238], edx
mov edx, dword [esi + 0xc0]
mov dword [esi + 0x240], eax
lea eax, [esi + 0x688]
mov dword [esi + 0x23c], ecx
mov ecx, dword [esi + 0x238]
mov dword [esi + 0xb4], edx
mov edx, dword [esi + 0x234]
push ebx
mov dword [esi + 0x1c4], ecx
mov dword [esi + 0x554], eax
mov dword [esi + 0x1c8], edx
mov dword [esi + 0x2c], 0x6a79fb
mov dword [esi + 0x30], 0xffffff
mov eax, dword [edi + 0x32c0]
push ebx
push eax
mov ecx, edi
mov dword [esi + 0x384], eax
call fcn.0040eae0
mov eax, dword [esi + 0x384]
push 1
push eax
mov ecx, edi
call fcn.0040fac0
push ebx
mov dword [esi + 0x388], eax
mov eax, dword [edi + 0x3320]
push ebx
push eax
mov ecx, edi
mov dword [esi + 0x450], eax
call fcn.0040eae0
mov ecx, dword [esi + 0x450]
push 1
push ecx
mov ecx, edi
call fcn.0040fac0
push ebx
mov dword [esi + 0x458], eax
mov eax, dword [edi + 0x3324]
push ebx
push eax
mov ecx, edi
mov dword [esi + 0x454], eax
call fcn.0040eae0
mov edx, dword [esi + 0x454]
push 1
push edx
mov ecx, edi
call fcn.0040fac0
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x45c], eax
mov eax, ecx
shr eax, 0x10
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
test eax, eax
jge 0x4717f1
fadd qword [0x4dd6e0]
fld qword [0x4e2990]
movzx ecx, cl
fdiv st(1), st(0)
fnstcw word [esp + 0x18]
fxch st(1)
movzx eax, word [esp + 0x18]
or eax, 0xc00
mov dword [esp + 0x14], eax
movzx eax, byte [esi + 0x21]
fldcw word [esp + 0x14]
fistp dword [esp + 0x14]
mov dl, byte [esp + 0x14]
mov dword [esp + 0x14], eax
movzx edx, dl
fldcw word [esp + 0x18]
shl edx, 8
fild dword [esp + 0x14]
fnstcw word [esp + 0x18]
fdiv st(1)
movzx eax, word [esp + 0x18]
or eax, 0xc00
mov dword [esp + 0x14], eax
fldcw word [esp + 0x14]
fistp dword [esp + 0x14]
movzx eax, byte [esp + 0x14]
mov dword [esp + 0x14], ecx
or edx, eax
fldcw word [esp + 0x18]
shl edx, 8
fild dword [esp + 0x14]
fnstcw word [esp + 0x18]
fdivrp st(1)
movzx eax, word [esp + 0x18]
or eax, 0xc00
mov dword [esp + 0x14], eax
fldcw word [esp + 0x14]
fistp dword [esp + 0x14]
movzx eax, byte [esp + 0x14]
movzx ecx, al
fldcw word [esp + 0x18]
or edx, ecx
mov dword [esi + 0x28], edx
call ebp
movzx edx, ax
sub dword [esi + 0x84c], edx
cmp dword [esi + 0x49c], 0xffffffff
jne 0x47198c
mov dword [esi + 0x49c], ebx
mov ecx, dword [esi + 0x8f4]
sub ecx, dword [esi + 0x8f0]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebx
jle 0x47198c
mov dword [esp + 0x14], ebx
mov ecx, dword [esi + 0x8f4]
sub ecx, dword [esi + 0x8f0]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
jb 0x47190c
call fcn.004a067d
mov ecx, dword [esi + 0x8f0]
add ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x30]
call fcn.00466ee0
mov ebp, 0x4e20b8
lea eax, [esp + 0x48]
lea esp, [esp]
mov cl, byte [eax]
cmp cl, byte [ebp]
jne 0x471951
cmp cl, bl
je 0x47194d
mov cl, byte [eax + 1]
cmp cl, byte [ebp + 1]
jne 0x471951
add eax, 2
add ebp, 2
cmp cl, bl
jne 0x471930
xor eax, eax
jmp 0x471956
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
mov eax, dword [esp + 0x18]
je 0x471974
add dword [esp + 0x14], 0x3c
inc eax
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
jl 0x4718e2
jmp 0x471986
mov dword [esi + 0x49c], eax
mov dword [esi + 0x4a0], eax
mov dword [esi + 0x4a4], eax
mov ebp, dword [sym.imp.kernel32.dll_GetUserDefaultUILanguage]
lea eax, [esi + 0x8fc]
cmp eax, ebx
je 0x47199b
cmp dword [eax + 4], ebx
jne 0x471a16
push ebx
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x8fc]
call fcn.00491ff7
mov edx, dword [edi + 0x3264]
mov eax, dword [edi + 0x3260]
push 0x18
push edx
push eax
lea ecx, [esi + 0x8fc]
call fcn.00414410
push ebx
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x948]
call fcn.00491ff7
mov ecx, dword [edi + 0x3264]
mov edx, dword [edi + 0x3260]
push 0x18
push ecx
push edx
lea ecx, [esi + 0x948]
call fcn.00414410
mov eax, dword [esi + 0xd0]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esi + 0x900]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0046ada0
lea ecx, [edi + 0x326c]
push ecx
lea ecx, [edi + 0x31ac]
call fcn.0040e4d0
mov edx, dword [eax]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push 0xffffffffffffffff
mov dword [esi + 0x520], edx
lea eax, [edi + 0x3220]
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.004017c0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
push 0xffffffffffffffff
lea eax, [edi + 0x3204]
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov dword [esp + 0xb8], ebx
mov byte [ecx + 4], bl
call fcn.004017c0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x68], esp
push 0xffffffffffffffff
push ebx
add edi, 0x31e8
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edi
mov byte [esp + 0xd4], 1
mov byte [ecx + 4], bl
call fcn.004017c0
mov ecx, esi
mov dword [esp + 0xc8], 0xffffffff
call fcn.00469e50
lea ecx, [esi + 0x30c]
call fcn.0046cc80
mov eax, dword [esi + 0xd0]
mov dword [esi + 0x85c], 1
mov dword [esi + 0x87c], ebx
mov dword [esi + 0x884], ebx
mov dword [esi + 0x880], eax
call ebp
movzx ecx, ax
sub dword [esi + 0xfa8], ecx
mov ecx, esi
call fcn.00466f60
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
call dword [sym.imp.user32.dll_ReleaseDC]
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.004a0abf
add esp, 0x64
ret 0x10