Function at 0x41c6db
Capabilities:
Get keyboard layout
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
movzx eax, byte [ebp + 8]
test eax, eax
je 0x41c8ff
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x84], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x41c8b9
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x41c745
push 0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
jmp 0x41c8b7
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x41c767
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0x14
jle 0x41c8b7
push 3
lea ecx, [ebp - 0x80]
call fcn.0042bc99
mov dword [ebp - 0x88], 1
mov dword [ebp - 0xa0], 0xf6c74aa0
mov dword [ebp - 0x9c], 1
mov dword [ebp - 0x94], 0x454bcd76
push 1
lea ecx, [ebp - 0xb0]
call fcn.0042bc99
mov dword [ebp - 0xa4], 0xffffffff
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x7c69
push 0
call fcn.0041ef3f
add esp, 0x10
push 0x23d
lea eax, [ebp - 0xb0]
push eax
push 0
push 0x23fc
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x437a
call fcn.00423ab2
add esp, 0x1c
push 0
lea ecx, [ebp - 0x80]
call fcn.0042bd87
and dword [eax], 0
jmp 0x41c820
push 0
lea ecx, [ebp - 0x80]
call fcn.0042bd87
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x80]
call fcn.0042bd87
cmp dword [eax], 0xfffffffa
jle 0x41c89f
mov dword [ebp - 0x8c], 0xfffffffd
mov dword [ebp - 0x90], 3
mov dword [ebp - 0x98], 0xfffffffc
mov dword [ebp - 0x68], 0xb3cf8132
push 0x2b1c
push 0x3029
push 0x1169
push 0x7399
push 1
push 1
push 0x5dc5
push 0x376b
push 0x348
push 0x1373
push 0x2d4
push 0x5ccb
push 0
lea eax, [ebp - 0x68]
push eax
push 1
call fcn.00415409
add esp, 0x3c
jmp 0x41c808
lea ecx, [ebp - 0xb0]
call fcn.0042bd6b
lea ecx, [ebp - 0x80]
call fcn.0042bd6b
jmp 0x41c75c
jmp 0x41c8fa
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x41c8dc
push 0x226e
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
jmp 0x41c8fa
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x41c8fa
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
jmp 0x41ca00
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x6c], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x41c99e
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x41c970
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x41c96e
push 0
push 0
push 0x1a5c
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
jmp 0x41c99c
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x41c99c
push 0
push 0
push 0x2456
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x41ca00
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x41c9ec
mov byte [ebp - 2], 0
push 0x26e3
push 0x73b4
push 0x1c82
push 0xfc5
lea eax, [ebp - 2]
push eax
push 0x57c2
push 0x7c64
push 0
push 1
push 0x6936
push 0x27ee
call fcn.0040deac
add esp, 0x2c
jmp 0x41ca00
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x41ca00
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov esp, ebp
pop ebp
ret