Function at 0x433d40
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
test eax, eax
push edi
je case.default.0x433de0
mov eax, dword [esp + 0x20]
test eax, eax
jle case.default.0x433de0
mov eax, dword [esp + 0x1c]
test eax, eax
jle case.default.0x433de0
mov ebp, dword [esp + 0x24]
push str.C:Secure1000Inspector.ini
push 0xc8
push str.WIDTH
mov dword [ebp], 0
mov eax, dword [0x4f20b0]
test eax, eax
jne 0x433dad
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push str.LOCATION
call esi
push str.C:Secure1000Inspector.ini
push 0x4b
push str.HEIGHT
mov ebx, eax
push str.LOCATION
jmp 0x433dcd
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push str.LOCATION_SINGLE_POSE
call esi
push str.C:Secure1000Inspector.ini
push 0x4b
push str.HEIGHT
mov ebx, eax
push str.LOCATION_SINGLE_POSE
call esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
cmp eax, 7
ja case.default.0x433de0
jmp dword [eax*4 + 0x43410c]
mov eax, dword [0x4f20b0]
push str.C:Secure1000Inspector.ini
test eax, eax
push 0x190
push str.LEFT_0
jne 0x433e1e
push str.LOCATION
call esi
push str.C:Secure1000Inspector.ini
push 0x1d
push str.TOP_0
mov edi, eax
push str.LOCATION
jmp 0x43408a
push str.LOCATION_SINGLE_POSE
call esi
push str.C:Secure1000Inspector.ini
push 0x1d
mov edi, eax
push str.TOP_0
jmp 0x434085
mov eax, dword [0x4f20b0]
push str.C:Secure1000Inspector.ini
test eax, eax
push 0x190
push str.LEFT_1
jne 0x433e72
push str.LOCATION
call esi
push str.C:Secure1000Inspector.ini
push 0x8b
push str.TOP_1
mov edi, eax
push str.LOCATION
jmp 0x43408a
push str.LOCATION_SINGLE_POSE
call esi
push str.C:Secure1000Inspector.ini
push 0x8b
mov edi, eax
push str.TOP_1
jmp 0x434085
mov eax, dword [0x4f20b0]
push str.C:Secure1000Inspector.ini
test eax, eax
push 0x190
push str.LEFT_2
jne 0x433ec9
push str.LOCATION
call esi
push str.C:Secure1000Inspector.ini
push 0xfa
push str.TOP_2
mov edi, eax
push str.LOCATION
jmp 0x43408a
push str.LOCATION_SINGLE_POSE
call esi
push str.C:Secure1000Inspector.ini
push 0xfa
mov edi, eax
push str.TOP_2
jmp 0x434085
mov eax, dword [0x4f20b0]
push str.C:Secure1000Inspector.ini
test eax, eax
push 0x190
push str.LEFT_3
jne 0x433f20
push str.LOCATION
call esi
push str.C:Secure1000Inspector.ini
push 0x168
push str.TOP_3
mov edi, eax
push str.LOCATION
jmp 0x43408a
push str.LOCATION_SINGLE_POSE
call esi
push str.C:Secure1000Inspector.ini
push 0x168
mov edi, eax
push str.TOP_3
jmp 0x434085
mov eax, dword [0x4f20b0]
push str.C:Secure1000Inspector.ini
test eax, eax
push 0x190
push str.LEFT_4
jne 0x433f74
push str.LOCATION
call esi
push str.C:Secure1000Inspector.ini
push 0x1d
push str.TOP_4
mov edi, eax
push str.LOCATION
jmp 0x43408a
push str.LOCATION_SINGLE_POSE
call esi
push str.C:Secure1000Inspector.ini
push 0x1d
mov edi, eax
push str.TOP_4
jmp 0x434085
mov eax, dword [0x4f20b0]
push str.C:Secure1000Inspector.ini
test eax, eax
push 0x190
push str.LEFT_5
jne 0x433fc8
push str.LOCATION
call esi
push str.C:Secure1000Inspector.ini
push 0x8b
push str.TOP_5
mov edi, eax
push str.LOCATION
jmp 0x43408a
push str.LOCATION_SINGLE_POSE
call esi
push str.C:Secure1000Inspector.ini
push 0x8b
mov edi, eax
push str.TOP_5
jmp 0x434085
mov eax, dword [0x4f20b0]
push str.C:Secure1000Inspector.ini
test eax, eax
push 0x190
push str.LEFT_6
jne 0x43401c
push str.LOCATION
call esi
push str.C:Secure1000Inspector.ini
push 0xfa
push str.TOP_6
mov edi, eax
push str.LOCATION
jmp 0x43408a
push str.LOCATION_SINGLE_POSE
call esi
push str.C:Secure1000Inspector.ini
push 0xfa
mov edi, eax
push str.TOP_6
jmp 0x434085
mov eax, dword [0x4f20b0]
push str.C:Secure1000Inspector.ini
test eax, eax
push 0x190
push str.LEFT_7
jne 0x43406d
push str.LOCATION
call esi
push str.C:Secure1000Inspector.ini
push 0x8b
push str.TOP_7
mov edi, eax
push str.LOCATION
jmp 0x43408a
push str.LOCATION_SINGLE_POSE
call esi
push str.C:Secure1000Inspector.ini
push 0x8b
mov edi, eax
push str.TOP_7
push str.LOCATION_SINGLE_POSE
call esi
mov ecx, dword [esp + 0x1c]
add ebx, edi
add ecx, eax
cmp eax, ecx
jg 0x4340e0
mov edx, dword [esp + 0x20]
sub ecx, eax
lea esi, [edx + edx]
mov dword [esp + 0x1c], esi
mov esi, eax
imul esi, edx
mov edx, dword [esp + 0x14]
add esi, edi
inc ecx
lea esi, [edx + esi*2]
mov dword [esp + 0x20], ecx
cmp edi, ebx
jg 0x4340cf
mov eax, ebx
mov edx, esi
sub eax, edi
inc eax
movsx ecx, word [edx]
add dword [ebp], ecx
add edx, 2
dec eax
jne 0x4340c3
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add esi, ecx
dec eax
mov dword [esp + 0x20], eax
jne 0x4340b8
mov ecx, dword [ebp]
mov eax, 0xddd9b4fd
imul ecx
add edx, ecx
pop edi
sar edx, 0xe
mov eax, edx
pop esi
shr eax, 0x1f
add edx, eax
mov eax, 1
mov dword [ebp], edx
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret