Function at 0x412d80
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x53cca0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
mov eax, dword [0x58fa50]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
call fcn.00403c80
add esp, 4
push 0x11
xor ebx, ebx
push str.ProgramConfig.ini
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], ebx
call fcn.004036d0
mov ecx, dword [esi + 0x334]
push ecx
push ecx
lea edx, [esp + 0x10]
mov dword [esp + 0x14], esp
mov ecx, esp
push edx
call fcn.00404580
push ecx
mov byte [esp + 0x34], 1
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.AEEnable
call fcn.00403bc0
push ecx
mov byte [esp + 0x38], 2
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x569aa0
call fcn.00403bc0
mov byte [esp + 0x38], bl
call fcn.004040e0
mov eax, dword [esi + 0x340]
add esp, 0x10
push eax
push ecx
lea edx, [esp + 0x10]
mov dword [esp + 0x1c], esp
mov ecx, esp
push edx
call fcn.00404580
push ecx
mov byte [esp + 0x34], 3
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.AWBEnable
call fcn.00403bc0
push ecx
mov byte [esp + 0x38], 4
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x569aa0
call fcn.00403bc0
mov byte [esp + 0x38], bl
call fcn.004040e0
mov eax, dword [esi + 0x344]
add esp, 0x10
push eax
push ecx
lea edx, [esp + 0x10]
mov dword [esp + 0x1c], esp
mov ecx, esp
push edx
call fcn.00404580
push ecx
mov byte [esp + 0x34], 5
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.ChangeGbGr
call fcn.00403bc0
push ecx
mov byte [esp + 0x38], 6
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x569aa0
call fcn.00403bc0
mov byte [esp + 0x38], bl
call fcn.004040e0
fld dword [esi + 0x32c]
add esp, 8
lea eax, [esp + 0x10]
fstp dword [esp + 4]
mov dword [esp + 0x1c], esp
mov ecx, esp
push eax
call fcn.00404580
push ecx
mov byte [esp + 0x34], 7
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x569ac4
call fcn.00403bc0
push ecx
mov byte [esp + 0x38], 8
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x569aa0
call fcn.00403bc0
mov byte [esp + 0x38], bl
call fcn.00403f30
fld dword [esi + 0x330]
add esp, 8
lea edx, [esp + 0x10]
fstp dword [esp + 4]
mov dword [esp + 0x1c], esp
mov ecx, esp
push edx
call fcn.00404580
push ecx
mov byte [esp + 0x34], 9
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Gain
call fcn.00403bc0
push ecx
mov byte [esp + 0x38], 0xa
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x569aa0
call fcn.00403bc0
mov byte [esp + 0x38], bl
call fcn.00403f30
mov eax, dword [esi + 0x338]
add esp, 0x10
push eax
push ecx
lea edx, [esp + 0x10]
mov dword [esp + 0x1c], esp
mov ecx, esp
push edx
call fcn.00404580
push ecx
mov byte [esp + 0x34], 0xb
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.AEMax
call fcn.00403bc0
push ecx
mov byte [esp + 0x38], 0xc
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x569aa0
call fcn.00403bc0
mov byte [esp + 0x38], bl
call fcn.004040e0
mov eax, dword [esi + 0x354]
add esp, 0x10
push eax
push ecx
lea edx, [esp + 0x10]
mov dword [esp + 0x1c], esp
mov ecx, esp
push edx
call fcn.00404580
push ecx
mov byte [esp + 0x34], 0xd
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.AGCMode
call fcn.00403bc0
push ecx
mov byte [esp + 0x38], 0xe
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x569aa0
call fcn.00403bc0
mov byte [esp + 0x38], bl
call fcn.004040e0
fld dword [esi + 0x33c]
add esp, 8
lea eax, [esp + 0x10]
fstp dword [esp + 4]
mov dword [esp + 0x1c], esp
mov ecx, esp
push eax
call fcn.00404580
push ecx
mov byte [esp + 0x34], 0xf
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.AETarget
call fcn.00403bc0
push ecx
mov byte [esp + 0x38], 0x10
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x569aa0
call fcn.00403bc0
mov byte [esp + 0x38], bl
call fcn.00403f30
mov ecx, dword [esi + 0x350]
add esp, 0x10
push ecx
push ecx
lea edx, [esp + 0x10]
mov dword [esp + 0x1c], esp
mov ecx, esp
push edx
call fcn.00404580
push ecx
mov byte [esp + 0x34], 0x11
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Offset
call fcn.00403bc0
push ecx
mov byte [esp + 0x38], 0x12
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x569aa0
call fcn.00403bc0
mov byte [esp + 0x38], bl
call fcn.004040e0
mov eax, dword [esi + 0x358]
add esp, 0x10
push eax
push ecx
lea edx, [esp + 0x10]
mov dword [esp + 0x1c], esp
mov ecx, esp
push edx
call fcn.00404580
mov byte [esp + 0x30], 0x13
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.CurrentTest
call fcn.00403bc0
push ecx
mov byte [esp + 0x38], 0x14
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x569aa0
call fcn.00403bc0
mov byte [esp + 0x38], bl
call fcn.004040e0
fld dword [esi + 0x348]
add esp, 8
lea eax, [esp + 0x10]
fstp dword [esp + 4]
mov dword [esp + 0x1c], esp
mov ecx, esp
push eax
call fcn.00404580
push ecx
mov byte [esp + 0x34], 0x15
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.3DNRStrength
call fcn.00403bc0
push ecx
mov byte [esp + 0x38], 0x16
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x569aa0
call fcn.00403bc0
mov byte [esp + 0x38], bl
call fcn.00403f30
fld dword [esi + 0x34c]
add esp, 8
lea edx, [esp + 0x10]
fstp dword [esp + 4]
mov dword [esp + 0x1c], esp
mov ecx, esp
push edx
call fcn.00404580
push ecx
mov byte [esp + 0x34], 0x17
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Gamma
call fcn.00403bc0
push ecx
mov byte [esp + 0x38], 0x18
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x569aa0
call fcn.00403bc0
mov byte [esp + 0x38], bl
call fcn.00403f30
mov eax, dword [esi + 0x294]
add esp, 0x10
push eax
push ecx
lea edx, [esp + 0x10]
mov dword [esp + 0x1c], esp
mov ecx, esp
push edx
call fcn.00404580
push ecx
mov byte [esp + 0x34], 0x19
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Mode
call fcn.00403bc0
mov byte [esp + 0x34], 0x1a
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x569aa0
call fcn.00403bc0
mov byte [esp + 0x38], bl
call fcn.004040e0
mov eax, dword [esi + 0x29c]
add esp, 0x10
push eax
push ecx
lea edx, [esp + 0x10]
mov dword [esp + 0x1c], esp
mov ecx, esp
push edx
call fcn.00404580
push ecx
mov byte [esp + 0x34], 0x1b
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x569b24
call fcn.00403bc0
push ecx
mov byte [esp + 0x38], 0x1c
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x569eb4
call fcn.00403bc0
mov byte [esp + 0x38], bl
call fcn.004040e0
add esp, 0xc
lea eax, [esi + 0x1fc]
mov dword [esp + 0x18], esp
mov ecx, esp
push eax
call fcn.00404580
push ecx
mov byte [esp + 0x30], 0x1d
lea edx, [esp + 0x10]
mov dword [esp + 0x18], esp
mov ecx, esp
push edx
call fcn.00404580
push ecx
mov byte [esp + 0x34], 0x1e
mov ecx, esp
mov dword [esp + 0x18], esp
push str.ConfigFileName
call fcn.00403bc0
push ecx
mov byte [esp + 0x38], 0x1f
mov ecx, esp
mov dword [esp + 0x28], esp
push str.Sensor
call fcn.00403bc0
mov byte [esp + 0x38], bl
call fcn.00404390
mov eax, dword [esi + 0x6bc]
add esp, 0x10
push eax
push ecx
lea edx, [esp + 0x10]
mov dword [esp + 0x20], esp
mov ecx, esp
push edx
call fcn.00404580
push ecx
mov byte [esp + 0x34], 0x20
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Counter
call fcn.00403bc0
push ecx
mov byte [esp + 0x38], 0x21
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x569b30
call fcn.00403bc0
mov byte [esp + 0x38], bl
call fcn.004040e0
mov eax, dword [esi + 0x298]
add esp, 0x10
push eax
push ecx
lea edx, [esp + 0x10]
mov dword [esp + 0x20], esp
mov ecx, esp
push edx
call fcn.00404580
push ecx
mov byte [esp + 0x34], 0x22
mov ecx, esp
mov dword [esp + 0x20], esp
push str.IsCheck
call fcn.00403bc0
push ecx
mov byte [esp + 0x38], 0x23
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x569b3c
call fcn.00403bc0
mov byte [esp + 0x38], bl
call fcn.004040e0
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41335f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret