Function at 0x529928
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8b0
mov dword [ebp - 0x8b0], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x8a4], 0
mov eax, dword [ebp - 0x8b0]
mov ecx, dword [eax + 0x1536c]
mov dword [ebp - 0x8a0], ecx
mov edx, dword [ebp - 0x8b0]
mov eax, dword [edx + 0x1536c]
shl eax, 9
mov ecx, dword [ebp - 0x8b0]
lea edx, [ecx + eax + 0x15370]
push edx
lea eax, [ebp - 0x88c]
push eax
call fcn.0054bec0
add esp, 8
cmp dword [ebp - 0x8a0], 0
jl 0x529d16
cmp dword [ebp - 0x8a0], 0x10
jge 0x529d16
mov byte [ebp - 0x78d], 0
push 0x5b7104
lea ecx, [ebp - 0x88c]
push ecx
call fcn.0054ccc0
add esp, 8
test eax, eax
je 0x529a8f
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x8b0]
mov ecx, dword [eax + 0x4b4]
push ecx
call fcn.004016bb
add esp, 8
lea edx, [ebp - 0x108]
push edx
push 0x400
lea eax, [ebp - 0x58c]
push eax
push 0x5dcbfc
push str.IDS_PRETEST2
push 0x5b7120
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x58c]
push ecx
call fcn.0054c3e0
add esp, 4
test eax, eax
jbe 0x529a8a
push 0x5b7130
lea edx, [ebp - 0x58c]
push edx
call fcn.0054bed0
add esp, 8
push str.Pretest___2
lea eax, [ebp - 0x88c]
push eax
call fcn.0054ccc0
add esp, 8
mov dword [ebp - 0x8a8], eax
cmp dword [ebp - 0x8a8], 0
je 0x529a74
mov ecx, dword [ebp - 0x8a8]
add ecx, 0xb
push ecx
lea edx, [ebp - 0x58c]
push edx
call fcn.0054bed0
add esp, 8
lea eax, [ebp - 0x58c]
push eax
lea ecx, [ebp - 0x88c]
push ecx
call fcn.0054bec0
add esp, 8
jmp 0x529b68
push 0x5b7140
lea edx, [ebp - 0x88c]
push edx
call fcn.0054ccc0
add esp, 8
test eax, eax
je 0x529b68
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x8b0]
mov edx, dword [ecx + 0x4b4]
push edx
call fcn.004016bb
add esp, 8
lea eax, [ebp - 0x108]
push eax
push 0x400
lea ecx, [ebp - 0x58c]
push ecx
push 0x5dcc00
push str.IDS_PRETEST4
push 0x5b715c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x58c]
push edx
call fcn.0054c3e0
add esp, 4
test eax, eax
jbe 0x529b68
push 0x5b716c
lea eax, [ebp - 0x58c]
push eax
call fcn.0054bed0
add esp, 8
push str.Pretest___4
lea ecx, [ebp - 0x88c]
push ecx
call fcn.0054ccc0
add esp, 8
mov dword [ebp - 0x8ac], eax
cmp dword [ebp - 0x8ac], 0
je 0x529b52
mov edx, dword [ebp - 0x8ac]
add edx, 0xb
push edx
lea eax, [ebp - 0x58c]
push eax
call fcn.0054bed0
add esp, 8
lea ecx, [ebp - 0x58c]
push ecx
lea edx, [ebp - 0x88c]
push edx
call fcn.0054bec0
add esp, 8
push 0x80
lea eax, [ebp - 0x188]
push eax
mov ecx, dword [ebp - 0x8a0]
imul ecx, ecx, 0x3c
mov edx, dword [ebp - 0x8b0]
lea ecx, [edx + ecx + 0xaec]
call fcn.00564356
lea eax, [ebp - 0x188]
push eax
lea ecx, [ebp - 0x88c]
push ecx
call fcn.0054d7f0
add esp, 8
test eax, eax
je 0x529d16
push str.Pass
lea edx, [ebp - 0x88c]
push edx
call fcn.0054ccc0
add esp, 8
mov dword [ebp - 0x18c], eax
push 0x5b7184
lea eax, [ebp - 0x88c]
push eax
call fcn.0054ccc0
add esp, 8
mov dword [ebp - 0x8a4], eax
push str._Bin
lea ecx, [ebp - 0x88c]
push ecx
call fcn.0054ccc0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 0x18c], 0
jne 0x529c0e
cmp dword [ebp - 0x8a4], 0
je 0x529cd9
cmp dword [ebp - 4], 0
je 0x529cd9
push pe_nt_image_headers32
push 0
lea edx, [ebp - 0x68c]
push edx
call fcn.0054bfb0
add esp, 0xc
push 0x10
push 0
lea eax, [ebp - 0x89c]
push eax
call fcn.0054bfb0
add esp, 0xc
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x88c]
sub ecx, edx
push ecx
lea eax, [ebp - 0x88c]
push eax
lea ecx, [ebp - 0x68c]
push ecx
call fcn.0054e890
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x89c]
push eax
call fcn.0054bec0
add esp, 8
lea ecx, [ebp - 0x68c]
push ecx
mov edx, dword [ebp - 0x8a0]
imul edx, edx, 0x3c
mov eax, dword [ebp - 0x8b0]
lea ecx, [eax + edx + 0xaec]
call fcn.0056432f
lea ecx, [ebp - 0x89c]
push ecx
mov edx, dword [ebp - 0x8a0]
imul edx, edx, 0x3c
mov eax, dword [ebp - 0x8b0]
lea ecx, [eax + edx + 0x14280]
call fcn.0056432f
push 5
mov ecx, dword [ebp - 0x8a0]
imul ecx, ecx, 0x3c
mov edx, dword [ebp - 0x8b0]
lea ecx, [edx + ecx + 0x14280]
call fcn.00564430
jmp 0x529cfb
lea eax, [ebp - 0x88c]
push eax
mov ecx, dword [ebp - 0x8a0]
imul ecx, ecx, 0x3c
mov edx, dword [ebp - 0x8b0]
lea ecx, [edx + ecx + 0xaec]
call fcn.0056432f
mov eax, dword [ebp - 0x8a0]
imul eax, eax, 0x3c
mov ecx, dword [ebp - 0x8b0]
lea ecx, [ecx + eax + 0xaec]
call fcn.00411bb0
mov esp, ebp
pop ebp
ret