Function at 0x414150
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x53eac8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push edi
mov eax, dword [0x591a60]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
call fcn.00403ec0
add esp, 4
push 0x11
xor ebx, ebx
push str.ProgramConfig.ini
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], ebx
call fcn.00403910
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x56a1ae
call fcn.00403e00
push ecx
mov byte [esp + 0x38], 1
lea edx, [esp + 0x14]
mov dword [esp + 0x20], esp
mov ecx, esp
push edx
call fcn.004047c0
push ecx
mov byte [esp + 0x3c], 2
mov ecx, esp
mov dword [esp + 0x28], esp
push str.ConfigFileName
call fcn.00403e00
push ecx
mov byte [esp + 0x40], 3
mov ecx, esp
mov dword [esp + 0x30], esp
push str.Sensor
call fcn.00403e00
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x44], bl
call fcn.00404450
add esp, 0x14
lea ecx, [esi + 0x200]
push eax
mov byte [esp + 0x34], 4
call fcn.004038a0
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414237
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
lea edx, [esp + 0x10]
mov dword [esp + 0x24], esp
mov ecx, esp
push edx
call fcn.004047c0
push ecx
mov byte [esp + 0x38], 5
mov ecx, esp
mov dword [esp + 0x24], esp
push str.AEEnable
call fcn.00403e00
push ecx
mov byte [esp + 0x3c], 6
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x56bc78
call fcn.00403e00
mov ecx, ebx
mov byte [esp + 0x3c], bl
call fcn.004042a0
add esp, 8
mov dword [esi + 0x338], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x24], esp
mov ecx, esp
push eax
call fcn.004047c0
push ecx
mov byte [esp + 0x38], 7
mov ecx, esp
mov dword [esp + 0x24], esp
push str.AWBEnable
call fcn.00403e00
push ecx
mov byte [esp + 0x3c], 8
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x56bc78
call fcn.00403e00
mov ecx, ebx
mov byte [esp + 0x3c], bl
call fcn.004042a0
add esp, 8
lea edx, [esp + 0x10]
mov dword [esp + 0x24], esp
mov ecx, esp
push edx
mov dword [esi + 0x344], eax
call fcn.004047c0
push ecx
mov byte [esp + 0x38], 9
mov ecx, esp
mov dword [esp + 0x24], esp
push str.ChangeGbGr
call fcn.00403e00
push ecx
mov byte [esp + 0x3c], 0xa
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x56bc78
call fcn.00403e00
mov ecx, ebx
mov byte [esp + 0x3c], bl
call fcn.004042a0
add esp, 8
mov dword [esi + 0x348], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x24], esp
mov ecx, esp
push eax
call fcn.004047c0
mov byte [esp + 0x34], 0xb
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.IsRawMSB
call fcn.00403e00
push ecx
mov byte [esp + 0x3c], 0xc
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x56bc78
call fcn.00403e00
mov ecx, ebx
mov byte [esp + 0x3c], bl
call fcn.004042a0
fld1
add esp, 4
fstp dword [esp + 4]
lea edx, [esp + 0x14]
mov dword [esp + 0x28], esp
mov ecx, esp
push edx
mov dword [esi + 0x360], eax
call fcn.004047c0
push ecx
mov byte [esp + 0x3c], 0xd
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x56bca8
call fcn.00403e00
push ecx
mov byte [esp + 0x40], 0xe
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x56bc78
call fcn.00403e00
mov byte [esp + 0x40], bl
call fcn.00403fe0
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
add esp, 8
fstp dword [esi + 0x330]
lea eax, [esp + 0x14]
fld1
mov dword [esp + 0x28], esp
fstp dword [esp + 4]
mov ecx, esp
push eax
call fcn.004047c0
push ecx
mov byte [esp + 0x3c], 0xf
mov ecx, esp
mov dword [esp + 0x28], esp
push str.Gain
call fcn.00403e00
push ecx
mov byte [esp + 0x40], 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x56bc78
call fcn.00403e00
mov byte [esp + 0x40], bl
call fcn.00403fe0
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
add esp, 0xc
lea edx, [esp + 0x10]
fstp dword [esi + 0x334]
mov dword [esp + 0x24], esp
mov ecx, esp
push edx
mov edi, 0x630
call fcn.004047c0
push ecx
mov byte [esp + 0x38], 0x11
mov ecx, esp
mov dword [esp + 0x24], esp
push str.AEMax
call fcn.00403e00
push ecx
mov byte [esp + 0x3c], 0x12
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x56bc78
call fcn.00403e00
mov ecx, edi
mov byte [esp + 0x3c], bl
call fcn.004042a0
add esp, 8
mov dword [esi + 0x33c], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x24], esp
mov ecx, esp
push eax
mov edi, 0x78
call fcn.004047c0
push ecx
mov byte [esp + 0x38], 0x13
mov ecx, esp
mov dword [esp + 0x24], esp
push str.AETarget
call fcn.00403e00
push ecx
mov byte [esp + 0x3c], 0x14
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x56bc78
call fcn.00403e00
mov ecx, edi
mov byte [esp + 0x3c], bl
call fcn.004042a0
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
add esp, 4
lea edx, [esp + 0x14]
fstp dword [esi + 0x340]
mov dword [esp + 0x28], esp
fld1
mov ecx, esp
fstp dword [esp + 4]
push edx
call fcn.004047c0
push ecx
mov byte [esp + 0x3c], 0x15
mov ecx, esp
mov dword [esp + 0x28], esp
push str.3DNRStrength
call fcn.00403e00
push ecx
mov byte [esp + 0x40], 0x16
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x56bc78
call fcn.00403e00
mov byte [esp + 0x40], bl
call fcn.00403fe0
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
add esp, 8
fstp dword [esi + 0x34c]
lea eax, [esp + 0x14]
fldz
mov dword [esp + 0x28], esp
fstp dword [esp + 4]
mov ecx, esp
push eax
call fcn.004047c0
push ecx
mov byte [esp + 0x3c], 0x17
mov ecx, esp
mov dword [esp + 0x28], esp
push str.3DNRStrength
call fcn.00403e00
push ecx
mov byte [esp + 0x40], 0x18
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x56bc78
call fcn.00403e00
mov byte [esp + 0x40], bl
call fcn.00403fe0
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
add esp, 8
fstp dword [esi + 0x34c]
lea edx, [esp + 0x14]
fldz
mov dword [esp + 0x28], esp
fstp dword [esp + 4]
mov ecx, esp
push edx
call fcn.004047c0
push ecx
mov byte [esp + 0x3c], 0x19
mov ecx, esp
mov dword [esp + 0x28], esp
push str.Gamma
call fcn.00403e00
push ecx
mov byte [esp + 0x40], 0x1a
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x56bc78
call fcn.00403e00
mov byte [esp + 0x40], bl
call fcn.00403fe0
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
add esp, 0xc
lea eax, [esp + 0x10]
fstp dword [esi + 0x350]
mov dword [esp + 0x24], esp
mov ecx, esp
push eax
call fcn.004047c0
push ecx
mov byte [esp + 0x38], 0x1b
mov ecx, esp
mov dword [esp + 0x24], esp
push str.Offset
call fcn.00403e00
push ecx
mov byte [esp + 0x3c], 0x1c
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x56bc78
call fcn.00403e00
mov ecx, ebx
mov byte [esp + 0x3c], bl
call fcn.004042a0
add esp, 8
lea edx, [esp + 0x10]
mov dword [esp + 0x24], esp
mov ecx, esp
push edx
mov dword [esi + 0x354], eax
call fcn.004047c0
push ecx
mov byte [esp + 0x38], 0x1d
mov ecx, esp
mov dword [esp + 0x24], esp
push str.AGCMode
call fcn.00403e00
push ecx
mov byte [esp + 0x3c], 0x1e
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x56bc78
call fcn.00403e00
mov ecx, ebx
mov byte [esp + 0x3c], bl
call fcn.004042a0
add esp, 8
mov dword [esi + 0x358], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x24], esp
mov ecx, esp
push eax
mov edi, 1
call fcn.004047c0
push ecx
mov byte [esp + 0x38], 0x1f
mov ecx, esp
mov dword [esp + 0x24], esp
push str.CurrentTest
call fcn.00403e00
push ecx
mov byte [esp + 0x3c], 0x20
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x56bc78
call fcn.00403e00
mov ecx, edi
mov byte [esp + 0x3c], bl
call fcn.004042a0
add esp, 8
lea edx, [esp + 0x10]
mov dword [esp + 0x24], esp
mov ecx, esp
push edx
mov dword [esi + 0x35c], eax
call fcn.004047c0
push ecx
mov byte [esp + 0x38], 0x21
mov ecx, esp
mov dword [esp + 0x24], esp
push str.Mode
call fcn.00403e00
push ecx
mov byte [esp + 0x3c], 0x22
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x56bc78
call fcn.00403e00
mov ecx, edi
mov byte [esp + 0x3c], bl
call fcn.004042a0
add esp, 8
mov dword [esi + 0x298], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x24], esp
mov ecx, esp
push eax
call fcn.004047c0
push ecx
mov byte [esp + 0x38], 0x23
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x56bd08
call fcn.00403e00
push ecx
mov byte [esp + 0x3c], 0x24
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x56c094
call fcn.00403e00
mov ecx, ebx
mov byte [esp + 0x3c], bl
call fcn.004042a0
mov dword [esi + 0x2a0], eax
mov edi, 0x64
add esp, 8
lea edx, [esp + 0x10]
mov dword [esp + 0x24], esp
mov ecx, esp
push edx
call fcn.004047c0
push ecx
mov byte [esp + 0x38], 0x25
mov ecx, esp
mov dword [esp + 0x24], esp
push str.Counter
call fcn.00403e00
push ecx
mov byte [esp + 0x3c], 0x26
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x56bd14
call fcn.00403e00
mov ecx, edi
mov byte [esp + 0x3c], bl
call fcn.004042a0
add esp, 8
mov dword [esi + 0x6c4], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x24], esp
mov ecx, esp
push eax
mov edi, 1
call fcn.004047c0
push ecx
mov byte [esp + 0x38], 0x27
mov ecx, esp
mov dword [esp + 0x24], esp
push str.IsCheck
call fcn.00403e00
push ecx
mov byte [esp + 0x3c], 0x28
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x56bd20
call fcn.00403e00
mov ecx, edi
mov byte [esp + 0x3c], bl
call fcn.004042a0
mov dword [esi + 0x29c], eax
mov dword [esp + 0x3c], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41485d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret