Function at 0x414880
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 0x53e960
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
mov eax, dword [0x591a60]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
call fcn.00403ec0
add esp, 4
push 0x11
xor ebx, ebx
push str.ProgramConfig.ini
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], ebx
call fcn.00403910
mov ecx, dword [esi + 0x338]
push ecx
push ecx
lea edx, [esp + 0x10]
mov dword [esp + 0x14], esp
mov ecx, esp
push edx
call fcn.004047c0
push ecx
mov byte [esp + 0x34], 1
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.AEEnable
call fcn.00403e00
push ecx
mov byte [esp + 0x38], 2
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x56bc78
call fcn.00403e00
mov byte [esp + 0x38], bl
call fcn.00404320
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.004047c0
push ecx
mov byte [esp + 0x34], 3
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.AWBEnable
call fcn.00403e00
push ecx
mov byte [esp + 0x38], 4
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x56bc78
call fcn.00403e00
mov byte [esp + 0x38], bl
call fcn.00404320
mov eax, dword [esi + 0x348]
add esp, 0x10
push eax
push ecx
lea edx, [esp + 0x10]
mov dword [esp + 0x1c], esp
mov ecx, esp
push edx
call fcn.004047c0
push ecx
mov byte [esp + 0x34], 5
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.ChangeGbGr
call fcn.00403e00
push ecx
mov byte [esp + 0x38], 6
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x56bc78
call fcn.00403e00
mov byte [esp + 0x38], bl
call fcn.00404320
mov eax, dword [esi + 0x360]
add esp, 0x10
push eax
push ecx
lea edx, [esp + 0x10]
mov dword [esp + 0x1c], esp
mov ecx, esp
push edx
call fcn.004047c0
push ecx
mov byte [esp + 0x34], 7
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.IsRawMSB
call fcn.00403e00
push ecx
mov byte [esp + 0x38], 8
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x56bc78
call fcn.00403e00
mov byte [esp + 0x38], bl
call fcn.00404320
fld dword [esi + 0x330]
add esp, 8
lea eax, [esp + 0x10]
fstp dword [esp + 4]
mov dword [esp + 0x1c], esp
mov ecx, esp
push eax
call fcn.004047c0
push ecx
mov byte [esp + 0x34], 9
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x56bca8
call fcn.00403e00
push ecx
mov byte [esp + 0x38], 0xa
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x56bc78
call fcn.00403e00
mov byte [esp + 0x38], bl
call fcn.00404170
fld dword [esi + 0x334]
add esp, 8
lea edx, [esp + 0x10]
fstp dword [esp + 4]
mov dword [esp + 0x1c], esp
mov ecx, esp
push edx
call fcn.004047c0
push ecx
mov byte [esp + 0x34], 0xb
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Gain
call fcn.00403e00
push ecx
mov byte [esp + 0x38], 0xc
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x56bc78
call fcn.00403e00
mov byte [esp + 0x38], bl
call fcn.00404170
mov eax, dword [esi + 0x33c]
add esp, 0x10
push eax
push ecx
lea edx, [esp + 0x10]
mov dword [esp + 0x1c], esp
mov ecx, esp
push edx
call fcn.004047c0
push ecx
mov byte [esp + 0x34], 0xd
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.AEMax
call fcn.00403e00
push ecx
mov byte [esp + 0x38], 0xe
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x56bc78
call fcn.00403e00
mov byte [esp + 0x38], bl
call fcn.00404320
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.004047c0
push ecx
mov byte [esp + 0x34], 0xf
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.AGCMode
call fcn.00403e00
push ecx
mov byte [esp + 0x38], 0x10
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x56bc78
call fcn.00403e00
mov byte [esp + 0x38], bl
call fcn.00404320
fld dword [esi + 0x340]
add esp, 8
lea eax, [esp + 0x10]
fstp dword [esp + 4]
mov dword [esp + 0x1c], esp
mov ecx, esp
push eax
call fcn.004047c0
push ecx
mov byte [esp + 0x34], 0x11
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.AETarget
call fcn.00403e00
push ecx
mov byte [esp + 0x38], 0x12
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x56bc78
call fcn.00403e00
mov byte [esp + 0x38], bl
call fcn.00404170
mov ecx, dword [esi + 0x354]
add esp, 0x10
push ecx
push ecx
lea edx, [esp + 0x10]
mov dword [esp + 0x1c], esp
mov ecx, esp
push edx
call fcn.004047c0
mov byte [esp + 0x30], 0x13
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Offset
call fcn.00403e00
push ecx
mov byte [esp + 0x38], 0x14
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x56bc78
call fcn.00403e00
mov byte [esp + 0x38], bl
call fcn.00404320
mov eax, dword [esi + 0x35c]
add esp, 0x10
push eax
push ecx
lea edx, [esp + 0x10]
mov dword [esp + 0x1c], esp
mov ecx, esp
push edx
call fcn.004047c0
push ecx
mov byte [esp + 0x34], 0x15
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.CurrentTest
call fcn.00403e00
push ecx
mov byte [esp + 0x38], 0x16
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x56bc78
call fcn.00403e00
mov byte [esp + 0x38], bl
call fcn.00404320
fld dword [esi + 0x34c]
add esp, 8
lea eax, [esp + 0x10]
fstp dword [esp + 4]
mov dword [esp + 0x1c], esp
mov ecx, esp
push eax
call fcn.004047c0
push ecx
mov byte [esp + 0x34], 0x17
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.3DNRStrength
call fcn.00403e00
push ecx
mov byte [esp + 0x38], 0x18
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x56bc78
call fcn.00403e00
mov byte [esp + 0x38], bl
call fcn.00404170
fld dword [esi + 0x350]
add esp, 8
lea edx, [esp + 0x10]
fstp dword [esp + 4]
mov dword [esp + 0x1c], esp
mov ecx, esp
push edx
call fcn.004047c0
push ecx
mov byte [esp + 0x34], 0x19
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Gamma
call fcn.00403e00
mov byte [esp + 0x34], 0x1a
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x56bc78
call fcn.00403e00
mov byte [esp + 0x38], bl
call fcn.00404170
mov eax, dword [esi + 0x298]
add esp, 0x10
push eax
push ecx
lea edx, [esp + 0x10]
mov dword [esp + 0x1c], esp
mov ecx, esp
push edx
call fcn.004047c0
push ecx
mov byte [esp + 0x34], 0x1b
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Mode
call fcn.00403e00
push ecx
mov byte [esp + 0x38], 0x1c
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x56bc78
call fcn.00403e00
mov byte [esp + 0x38], bl
call fcn.00404320
mov eax, dword [esi + 0x2a0]
add esp, 0x10
push eax
push ecx
lea edx, [esp + 0x10]
mov dword [esp + 0x1c], esp
mov ecx, esp
push edx
call fcn.004047c0
push ecx
mov byte [esp + 0x34], 0x1d
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x56bd08
call fcn.00403e00
push ecx
mov byte [esp + 0x38], 0x1e
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x56c094
call fcn.00403e00
mov byte [esp + 0x38], bl
call fcn.00404320
add esp, 0xc
lea eax, [esi + 0x200]
mov dword [esp + 0x18], esp
mov ecx, esp
push eax
call fcn.004047c0
push ecx
mov byte [esp + 0x30], 0x1f
lea edx, [esp + 0x10]
mov dword [esp + 0x18], esp
mov ecx, esp
push edx
call fcn.004047c0
push ecx
mov byte [esp + 0x34], 0x20
mov ecx, esp
mov dword [esp + 0x18], esp
push str.ConfigFileName
call fcn.00403e00
push ecx
mov byte [esp + 0x38], 0x21
mov ecx, esp
mov dword [esp + 0x28], esp
push str.Sensor
call fcn.00403e00
mov byte [esp + 0x38], bl
call fcn.004045d0
mov eax, dword [esi + 0x6c4]
add esp, 0x10
push eax
push ecx
lea edx, [esp + 0x10]
mov dword [esp + 0x20], esp
mov ecx, esp
push edx
call fcn.004047c0
push ecx
mov byte [esp + 0x34], 0x22
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Counter
call fcn.00403e00
push ecx
mov byte [esp + 0x38], 0x23
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x56bd14
call fcn.00403e00
mov byte [esp + 0x38], bl
call fcn.00404320
mov eax, dword [esi + 0x29c]
add esp, 0x10
push eax
push ecx
lea edx, [esp + 0x10]
mov dword [esp + 0x20], esp
mov ecx, esp
push edx
call fcn.004047c0
push ecx
mov byte [esp + 0x34], 0x24
mov ecx, esp
mov dword [esp + 0x20], esp
push str.IsCheck
call fcn.00403e00
push ecx
mov byte [esp + 0x38], 0x25
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x56bd20
call fcn.00403e00
mov byte [esp + 0x38], bl
call fcn.00404320
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 0x414eaf
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