Function at 0x42fcb1
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
cmp dword [0x4a15cc], 0
je 0x42fcc5
jmp 0x430032
cmp dword [0x4a15d4], 0
jne 0x42fd03
push 0x1c
call fcn.004024f0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42fced
push 0xa
mov ecx, dword [ebp - 0x18]
call fcn.0046af6b
mov dword [ebp - 0x38], eax
jmp 0x42fcf4
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [0x4a15d4], ecx
cmp dword [0x4a15d8], 0
jne 0x42fd3e
push 0x14
call fcn.004024f0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x42fd29
mov ecx, dword [ebp - 0x20]
call fcn.0046ab7c
mov dword [ebp - 0x3c], eax
jmp 0x42fd30
mov dword [ebp - 0x3c], 0
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov dword [0x4a15d8], eax
cmp dword [ebp + 8], 0
je 0x42fd5c
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
test edx, edx
je 0x42fd5c
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x4a13b8
call fcn.00470581
mov ecx, dword [ebp + 8]
push ecx
mov ecx, 0x4a13b8
call fcn.00470581
mov ecx, 0x4a13b8
call fcn.00402550
push eax
push 0x4a0fd0
call fcn.00446430
add esp, 8
push str.ATRCSettings
lea ecx, [ebp - 0xc]
call fcn.004704b2
mov ecx, 0x4a0fcc
call fcn.00402550
push eax
push str.OldTracePath
lea ecx, [ebp - 0xc]
call fcn.00402550
push eax
lea edx, [ebp - 0x24]
push edx
call fcn.004312c0
add esp, 0x10
push eax
mov ecx, 0x4a0fcc
call fcn.00470531
lea ecx, [ebp - 0x24]
call fcn.00470444
mov ecx, 0x4a13bc
call fcn.00402550
push eax
push str.ActTracePath
lea ecx, [ebp - 0xc]
call fcn.00402550
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004312c0
add esp, 0x10
push eax
mov ecx, 0x4a13bc
call fcn.00470531
lea ecx, [ebp - 0x28]
call fcn.00470444
mov eax, dword [0x4902b4]
cdq
mov ecx, 0x3e8
idiv ecx
push eax
push str.MaxTraceSize
lea ecx, [ebp - 0xc]
call fcn.00402550
push eax
call fcn.00431370
add esp, 0xc
imul eax, eax, 0x3e8
mov dword [0x4902b4], eax
mov edx, dword [0x4902b8]
push edx
push str.InFile
lea ecx, [ebp - 0xc]
call fcn.00402550
push eax
call fcn.00431370
add esp, 0xc
mov dword [0x4902b8], eax
mov eax, dword [0x4a15e8]
push eax
push str.InAux
lea ecx, [ebp - 0xc]
call fcn.00402550
push eax
call fcn.00431370
add esp, 0xc
mov dword [0x4a15e8], eax
mov ecx, 0x4a13c0
call fcn.00402550
push eax
push str.Viewer
lea ecx, [ebp - 0xc]
call fcn.00402550
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.004312c0
add esp, 0x10
push eax
mov ecx, 0x4a13c0
call fcn.00470531
lea ecx, [ebp - 0x2c]
call fcn.00470444
push 0x490350
lea ecx, [ebp - 0xc]
call fcn.00470581
lea ecx, [ebp - 0x10]
call fcn.00402510
push 0x802
lea ecx, [ebp - 0x10]
call fcn.00470828
mov dword [ebp - 4], eax
mov ecx, 0x4a13b8
call fcn.00402550
push eax
push 0x800
mov edx, dword [ebp - 4]
push edx
push 0x4a15ec
push 0
lea ecx, [ebp - 0xc]
call fcn.00402550
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
test ecx, ecx
je 0x42ffe7
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [0x4a15d4]
call fcn.0046b0ed
test eax, eax
jne 0x42ff92
push 0x14
call fcn.004024f0
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x42ff3e
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.00431390
mov dword [ebp - 0x40], eax
jmp 0x42ff45
mov dword [ebp - 0x40], 0
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [0x4a15d4]
call fcn.00421060
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [0x4a15d8]
call fcn.004316c0
mov dword [0x4a15d0], eax
mov ecx, dword [0x4a15d0]
add ecx, 1
mov dword [0x4a15d0], ecx
mov edx, dword [ebp - 8]
mov eax, dword [0x4a15d0]
mov dword [edx + 4], eax
cmp dword [ebp + 0xc], 0
je 0x42ffa1
mov dword [ebp - 0x44], 0
jmp 0x42ffc0
push 0
mov ecx, dword [ebp - 4]
push ecx
lea ecx, [ebp - 0xc]
call fcn.00402550
push eax
call fcn.00431370
add esp, 0xc
and eax, 0x1ff
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
push edx
mov ecx, dword [ebp - 8]
call fcn.00431400
mov eax, dword [ebp - 4]
push eax
call fcn.00446520
add esp, 4
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 1]
mov dword [ebp - 4], edx
jmp 0x42fef8
mov ecx, 0x4a0fcc
call fcn.00402550
push eax
call fcn.004488d4
add esp, 4
mov ecx, 0x4a0fcc
call fcn.00402550
push eax
mov ecx, 0x4a13bc
call fcn.00402550
push eax
call fcn.0044887c
add esp, 8
mov dword [0x4a15cc], 1
lea ecx, [ebp - 0x10]
call fcn.00470444
lea ecx, [ebp - 0xc]
call fcn.00470444
mov esp, ebp
pop ebp
ret 8