Function at 0x41d7d0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5221e8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x56a434]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.0041eff0
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x409
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041f5c0
mov dword [ebp - 0x1c], 2
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x404
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041f5c0
mov dword [ebp - 0x1c], 3
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x421
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041f5c0
mov dword [ebp - 0x1c], 4
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x41f
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041f5c0
mov dword [ebp - 0x1c], 5
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x407
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041f5c0
mov dword [ebp - 0x1c], 6
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x40c
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041f5c0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x40a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041f5c0
mov dword [ebp - 0x1c], 7
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x80a
lea eax, [ebp - 0x20]
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041f5c0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0xc0a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041f5c0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x100a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041f5c0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x140a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041f5c0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x180a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041f5c0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x1c0a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041f5c0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x200a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041f5c0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x240a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041f5c0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x280a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041f5c0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x2c0a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041f5c0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x300a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041f5c0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x340a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041f5c0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x380a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041f5c0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x3c0a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041f5c0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x400a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041f5c0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x440a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041f5c0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x480a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041f5c0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x4c0a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041f5c0
mov dword [ebp - 0x1c], 7
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x500a
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041f5c0
mov dword [ebp - 0x1c], 8
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x416
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041f5c0
mov dword [ebp - 0x1c], 9
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x411
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041f5c0
mov dword [ebp - 0x1c], 0xa
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x412
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041f5c0
mov dword [ebp - 0x1c], 0xb
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x415
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041f5c0
mov dword [ebp - 0x1c], 0xc
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x413
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041f5c0
mov dword [ebp - 0x1c], 0xc
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x813
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041f5c0
mov dword [ebp - 0x1c], 0xd
lea eax, [ebp - 0x20]
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x410
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041f5c0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edx, dword [ebp - 0x18]
movzx esi, ax
mov eax, edx
mov ecx, dword [edx + 4]
cmp byte [ecx + 0xd], 0
jne 0x41dcb4
cmp dword [ecx + 0x10], esi
jge 0x41dca1
mov ecx, dword [ecx + 8]
jmp 0x41dca5
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x41dc97
cmp eax, edx
je 0x41dcb4
cmp esi, dword [eax + 0x10]
jge 0x41dcb6
mov eax, edx
cmp eax, edx
je 0x41dcbf
mov esi, dword [eax + 0x14]
jmp 0x41dcc1
xor esi, esi
push edx
push dword [edx]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041e4a0
push dword [ebp - 0x18]
call fcn.00456e50
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dc47a
mov esp, ebp
pop ebp
ret