Function at 0x4126a0
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 0x53cdf8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push edi
mov eax, dword [0x58fa50]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
call fcn.00403c80
add esp, 4
push 0x11
xor ebx, ebx
push str.ProgramConfig.ini
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], ebx
call fcn.004036d0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x5680fe
call fcn.00403bc0
push ecx
mov byte [esp + 0x38], 1
lea edx, [esp + 0x14]
mov dword [esp + 0x20], esp
mov ecx, esp
push edx
call fcn.00404580
push ecx
mov byte [esp + 0x3c], 2
mov ecx, esp
mov dword [esp + 0x28], esp
push str.ConfigFileName
call fcn.00403bc0
push ecx
mov byte [esp + 0x40], 3
mov ecx, esp
mov dword [esp + 0x30], esp
push str.Sensor
call fcn.00403bc0
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x44], bl
call fcn.00404210
add esp, 0x14
lea ecx, [esi + 0x1fc]
push eax
mov byte [esp + 0x34], 4
call fcn.00403660
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 0x412787
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.00404580
push ecx
mov byte [esp + 0x38], 5
mov ecx, esp
mov dword [esp + 0x24], esp
push str.AEEnable
call fcn.00403bc0
push ecx
mov byte [esp + 0x3c], 6
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x569aa0
call fcn.00403bc0
mov ecx, ebx
mov byte [esp + 0x3c], bl
call fcn.00404060
add esp, 8
mov dword [esi + 0x334], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x24], esp
mov ecx, esp
push eax
call fcn.00404580
push ecx
mov byte [esp + 0x38], 7
mov ecx, esp
mov dword [esp + 0x24], esp
push str.AWBEnable
call fcn.00403bc0
push ecx
mov byte [esp + 0x3c], 8
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x569aa0
call fcn.00403bc0
mov ecx, ebx
mov byte [esp + 0x3c], bl
call fcn.00404060
add esp, 8
lea edx, [esp + 0x10]
mov dword [esp + 0x24], esp
mov ecx, esp
push edx
mov dword [esi + 0x340], eax
call fcn.00404580
push ecx
mov byte [esp + 0x38], 9
mov ecx, esp
mov dword [esp + 0x24], esp
push str.ChangeGbGr
call fcn.00403bc0
push ecx
mov byte [esp + 0x3c], 0xa
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x569aa0
call fcn.00403bc0
mov ecx, ebx
mov byte [esp + 0x3c], bl
call fcn.00404060
fld1
add esp, 4
fstp dword [esp + 4]
mov dword [esi + 0x344], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x28], esp
mov ecx, esp
push eax
call fcn.00404580
push ecx
mov byte [esp + 0x3c], 0xb
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x569ac4
call fcn.00403bc0
push ecx
mov byte [esp + 0x40], 0xc
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x569aa0
call fcn.00403bc0
mov byte [esp + 0x40], bl
call fcn.00403da0
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
add esp, 8
fstp dword [esi + 0x32c]
lea edx, [esp + 0x14]
fld1
mov dword [esp + 0x28], esp
fstp dword [esp + 4]
mov ecx, esp
push edx
call fcn.00404580
push ecx
mov byte [esp + 0x3c], 0xd
mov ecx, esp
mov dword [esp + 0x28], esp
push str.Gain
call fcn.00403bc0
push ecx
mov byte [esp + 0x40], 0xe
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x569aa0
call fcn.00403bc0
mov byte [esp + 0x40], bl
call fcn.00403da0
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
add esp, 0xc
lea eax, [esp + 0x10]
fstp dword [esi + 0x330]
mov dword [esp + 0x24], esp
mov ecx, esp
push eax
mov edi, 0x630
call fcn.00404580
push ecx
mov byte [esp + 0x38], 0xf
mov ecx, esp
mov dword [esp + 0x24], esp
push str.AEMax
call fcn.00403bc0
push ecx
mov byte [esp + 0x3c], 0x10
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x569aa0
call fcn.00403bc0
mov ecx, edi
mov byte [esp + 0x3c], bl
call fcn.00404060
add esp, 8
lea edx, [esp + 0x10]
mov dword [esp + 0x24], esp
mov ecx, esp
push edx
mov dword [esi + 0x338], eax
mov edi, 0x78
call fcn.00404580
push ecx
mov byte [esp + 0x38], 0x11
mov ecx, esp
mov dword [esp + 0x24], esp
push str.AETarget
call fcn.00403bc0
push ecx
mov byte [esp + 0x3c], 0x12
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x569aa0
call fcn.00403bc0
mov ecx, edi
mov byte [esp + 0x3c], bl
call fcn.00404060
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
add esp, 4
lea eax, [esp + 0x14]
fstp dword [esi + 0x33c]
mov dword [esp + 0x28], esp
fld1
mov ecx, esp
fstp dword [esp + 4]
push eax
call fcn.00404580
push ecx
mov byte [esp + 0x3c], 0x13
mov ecx, esp
mov dword [esp + 0x28], esp
push str.3DNRStrength
call fcn.00403bc0
push ecx
mov byte [esp + 0x40], 0x14
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x569aa0
call fcn.00403bc0
mov byte [esp + 0x40], bl
call fcn.00403da0
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
add esp, 8
fstp dword [esi + 0x348]
lea edx, [esp + 0x14]
fldz
mov dword [esp + 0x28], esp
fstp dword [esp + 4]
mov ecx, esp
push edx
call fcn.00404580
push ecx
mov byte [esp + 0x3c], 0x15
mov ecx, esp
mov dword [esp + 0x28], esp
push str.3DNRStrength
call fcn.00403bc0
push ecx
mov byte [esp + 0x40], 0x16
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x569aa0
call fcn.00403bc0
mov byte [esp + 0x40], bl
call fcn.00403da0
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
add esp, 8
fstp dword [esi + 0x348]
lea eax, [esp + 0x14]
fldz
mov dword [esp + 0x28], esp
fstp dword [esp + 4]
mov ecx, esp
push eax
call fcn.00404580
mov byte [esp + 0x38], 0x17
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.Gamma
call fcn.00403bc0
push ecx
mov byte [esp + 0x40], 0x18
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x569aa0
call fcn.00403bc0
mov byte [esp + 0x40], bl
call fcn.00403da0
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
add esp, 0xc
lea edx, [esp + 0x10]
fstp dword [esi + 0x34c]
mov dword [esp + 0x24], esp
mov ecx, esp
push edx
call fcn.00404580
push ecx
mov byte [esp + 0x38], 0x19
mov ecx, esp
mov dword [esp + 0x24], esp
push str.Offset
call fcn.00403bc0
push ecx
mov byte [esp + 0x3c], 0x1a
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x569aa0
call fcn.00403bc0
mov ecx, ebx
mov byte [esp + 0x3c], bl
call fcn.00404060
add esp, 8
mov dword [esi + 0x350], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x24], esp
mov ecx, esp
push eax
call fcn.00404580
push ecx
mov byte [esp + 0x38], 0x1b
mov ecx, esp
mov dword [esp + 0x24], esp
push str.AGCMode
call fcn.00403bc0
push ecx
mov byte [esp + 0x3c], 0x1c
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x569aa0
call fcn.00403bc0
mov ecx, ebx
mov byte [esp + 0x3c], bl
call fcn.00404060
add esp, 8
lea edx, [esp + 0x10]
mov dword [esp + 0x24], esp
mov ecx, esp
push edx
mov dword [esi + 0x354], eax
mov edi, 1
call fcn.00404580
push ecx
mov byte [esp + 0x38], 0x1d
mov ecx, esp
mov dword [esp + 0x24], esp
push str.CurrentTest
call fcn.00403bc0
mov byte [esp + 0x38], 0x1e
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x569aa0
call fcn.00403bc0
mov ecx, edi
mov byte [esp + 0x3c], bl
call fcn.00404060
add esp, 8
mov dword [esi + 0x358], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x24], esp
mov ecx, esp
push eax
call fcn.00404580
push ecx
mov byte [esp + 0x38], 0x1f
mov ecx, esp
mov dword [esp + 0x24], esp
push str.Mode
call fcn.00403bc0
push ecx
mov byte [esp + 0x3c], 0x20
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x569aa0
call fcn.00403bc0
mov ecx, edi
mov byte [esp + 0x3c], bl
call fcn.00404060
add esp, 8
lea edx, [esp + 0x10]
mov dword [esp + 0x24], esp
mov ecx, esp
push edx
mov dword [esi + 0x294], eax
call fcn.00404580
push ecx
mov byte [esp + 0x38], 0x21
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x569b24
call fcn.00403bc0
push ecx
mov byte [esp + 0x3c], 0x22
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x569eb4
call fcn.00403bc0
mov ecx, ebx
mov byte [esp + 0x3c], bl
call fcn.00404060
add esp, 8
mov dword [esi + 0x29c], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x24], esp
mov ecx, esp
push eax
mov edi, 0x64
call fcn.00404580
push ecx
mov byte [esp + 0x38], 0x23
mov ecx, esp
mov dword [esp + 0x24], esp
push str.Counter
call fcn.00403bc0
push ecx
mov byte [esp + 0x3c], 0x24
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x569b30
call fcn.00403bc0
mov ecx, edi
mov byte [esp + 0x3c], bl
call fcn.00404060
mov dword [esi + 0x6bc], eax
add esp, 8
lea edx, [esp + 0x10]
mov dword [esp + 0x24], esp
mov ecx, esp
push edx
mov edi, 1
call fcn.00404580
push ecx
mov byte [esp + 0x38], 0x25
mov ecx, esp
mov dword [esp + 0x24], esp
push str.IsCheck
call fcn.00403bc0
push ecx
mov byte [esp + 0x3c], 0x26
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x569b3c
call fcn.00403bc0
mov ecx, edi
mov byte [esp + 0x3c], bl
call fcn.00404060
mov dword [esi + 0x298], 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 0x412d5d
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