Function at 0x4305e5
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461697
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x190
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x144], 0
mov ecx, dword [ebp - 0x148]
add ecx, 0x1d8
call fcn.0041b9f0
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x148]
call fcn.004028d0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x148]
cmp dword [eax + 0xb60], 0
jne 0x430659
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x148]
add ecx, 0xb5c
call fcn.00402700
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x148]
call fcn.004028f0
cmp dword [ebp - 0x10], 0xffffffff
jle 0x430c27
mov ecx, dword [ebp - 0x148]
add ecx, 0x918
call fcn.00407170
test eax, eax
jle 0x430c27
mov ecx, 0x479910
call fcn.00402270
push eax
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x114]
push ecx
mov ecx, dword [ebp - 0x148]
add ecx, 0x918
call fcn.004071b0
mov dword [ebp - 0x14c], eax
mov edx, dword [ebp - 0x14c]
mov dword [ebp - 0x150], edx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x150]
call fcn.00402270
push eax
push 0x476988
push 0x476990
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call fcn.00455120
mov eax, 1
test eax, eax
je 0x43070e
mov dword [ebp - 0x154], 0
jmp 0x43076d
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x118]
push edx
mov ecx, dword [ebp - 0x148]
add ecx, 0x918
call fcn.004071b0
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x144]
or al, 1
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x158]
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x15c]
mov eax, dword [edx]
push eax
push str.OCR_AP:__s_n
call fcn.004021d0
add esp, 8
mov dword [ebp - 0x154], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x144]
and ecx, 1
test ecx, ecx
je 0x430793
and dword [ebp - 0x144], 0xfffffffe
lea ecx, [ebp - 0x118]
call fcn.00455120
mov ecx, dword [ebp - 0x148]
add ecx, 0x904
call fcn.00407190
mov edx, dword [ebp - 0x148]
add edx, 0x904
push edx
mov ecx, dword [ebp - 0x148]
add ecx, 0x954
call fcn.004061de
mov word [ebp - 0x1c], ax
push 0x3f0
mov ecx, dword [ebp - 0x148]
call fcn.004546e9
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf0]
call fcn.0041ba80
mov dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x148]
cmp dword [eax + 0x4c], 0
je 0x430a09
push 0x4769a0
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x120]
push edx
mov ecx, dword [ebp - 0x148]
add ecx, 0x918
call fcn.004071b0
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x164], eax
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x164]
call fcn.00402280
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x11c], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.00455120
mov ecx, dword [ebp - 0x11c]
and ecx, 0xff
test ecx, ecx
je 0x43097d
jmp 0x430888
mov edx, dword [ebp - 0xf4]
add edx, 1
mov dword [ebp - 0xf4], edx
mov eax, dword [ebp - 0x1c]
and eax, 0xffff
cmp dword [ebp - 0xf4], eax
jge 0x430978
push 0x4769a8
mov ecx, dword [ebp - 0xf4]
push ecx
lea edx, [ebp - 0x128]
push edx
mov ecx, dword [ebp - 0x148]
add ecx, 0x904
call fcn.004071b0
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x16c], eax
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x16c]
call fcn.00402280
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x124], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
call fcn.00455120
mov ecx, dword [ebp - 0x124]
and ecx, 0xff
test ecx, ecx
je 0x430973
mov edx, dword [ebp - 0xf4]
push edx
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x148]
add ecx, 0x904
call fcn.004071b0
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x174], ecx
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x174]
call fcn.00402270
push eax
mov ecx, dword [ebp - 0xf0]
call fcn.0041ba50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.00455120
jmp 0x430879
jmp 0x430a04
jmp 0x43098e
mov edx, dword [ebp - 0xf4]
add edx, 1
mov dword [ebp - 0xf4], edx
mov eax, dword [ebp - 0x1c]
and eax, 0xffff
cmp dword [ebp - 0xf4], eax
jge 0x430a04
mov ecx, dword [ebp - 0xf4]
push ecx
lea edx, [ebp - 0x130]
push edx
mov ecx, dword [ebp - 0x148]
add ecx, 0x904
call fcn.004071b0
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x17c], eax
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x17c]
call fcn.00402270
push eax
mov ecx, dword [ebp - 0xf0]
call fcn.0041ba50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.00455120
jmp 0x43097f
jmp 0x430a91
jmp 0x430a1a
mov ecx, dword [ebp - 0xf4]
add ecx, 1
mov dword [ebp - 0xf4], ecx
mov edx, dword [ebp - 0x1c]
and edx, 0xffff
cmp dword [ebp - 0xf4], edx
jge 0x430a91
mov eax, dword [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x134]
push ecx
mov ecx, dword [ebp - 0x148]
add ecx, 0x904
call fcn.004071b0
mov dword [ebp - 0x180], eax
mov edx, dword [ebp - 0x180]
mov dword [ebp - 0x184], edx
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x184]
call fcn.00402270
push eax
mov ecx, dword [ebp - 0xf0]
call fcn.0041ba50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.00455120
jmp 0x430a0b
mov ecx, 0x479910
call fcn.00402270
push eax
push 0xc8
lea eax, [ebp - 0xec]
push eax
push 0x479a84
push 0x4769b0
push 0x4769b8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x430af5
mov ecx, 0x479910
call fcn.00402270
push eax
push 0xc8
lea ecx, [ebp - 0xec]
push ecx
push 0x479a88
push str.DocAP
push 0x4769c4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x24], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x138], esp
lea edx, [ebp - 0xec]
push edx
call fcn.0045518e
mov dword [ebp - 0x188], eax
mov ecx, dword [ebp - 0x148]
add ecx, 0x954
call fcn.004067b0
mov word [ebp - 0x18c], ax
mov eax, dword [ebp - 0x18c]
and eax, 0xffff
mov ecx, dword [ebp - 0x148]
mov dword [ecx + 0xe50], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x13c], esp
push 0x4769d0
call fcn.0045518e
mov dword [ebp - 0x190], eax
mov ecx, dword [ebp - 0x148]
add ecx, 0x954
call fcn.004067b0
mov word [ebp - 0x194], ax
mov edx, dword [ebp - 0x194]
and edx, 0xffff
mov dword [ebp - 0x18], edx
push ecx
mov ecx, esp
mov dword [ebp - 0x140], esp
push 0x4769d8
call fcn.0045518e
mov dword [ebp - 0x198], eax
mov ecx, dword [ebp - 0x148]
add ecx, 0x954
call fcn.004067b0
mov word [ebp - 0x19c], ax
mov eax, dword [ebp - 0x19c]
and eax, 0xffff
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x148]
cmp dword [ecx + 0xe50], 0xffffffff
jle 0x430be7
mov edx, dword [ebp - 0x148]
mov eax, dword [edx + 0xe50]
push eax
mov ecx, dword [ebp - 0xf0]
call fcn.0041ba20
jmp 0x430c22
cmp dword [ebp - 0x18], 0xffffffff
je 0x430bfe
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0xf0]
call fcn.0041ba20
jmp 0x430c22
cmp dword [ebp - 0x20], 0xffffffff
je 0x430c15
mov edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0xf0]
call fcn.0041ba20
jmp 0x430c22
push 0
mov ecx, dword [ebp - 0xf0]
call fcn.0041ba20
jmp 0x430d62
mov eax, dword [ebp - 0x148]
cmp dword [eax + 0x364], 0
je 0x430d62
mov ecx, dword [ebp - 0x148]
add ecx, 0x348
call fcn.0041b940
cmp eax, 1
jne 0x430c63
push 0
mov ecx, dword [ebp - 0x148]
add ecx, 0x348
call fcn.0041b970
push 0
mov ecx, dword [ebp - 0x148]
add ecx, 0x348
call fcn.004548eb
lea ecx, [ebp - 0xfc]
call fcn.00402500
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x110]
call fcn.004076a0
push str.MULTIPLEPAGED
lea ecx, [ebp - 0xfc]
call fcn.00402570
lea ecx, [ebp - 0xfc]
push ecx
mov ecx, dword [ebp - 0x148]
add ecx, 0xb5c
call fcn.00402760
mov dword [ebp - 0x100], eax
push 0xf8
push 0xad
push 0xe4
push 0x99
lea ecx, [ebp - 0x110]
call fcn.0041b530
push 0xcc0020
push 0
push 0
mov edx, dword [ebp - 0x148]
add edx, 0xb5c
push edx
lea ecx, [ebp - 0x110]
call fcn.004076d0
push eax
lea ecx, [ebp - 0x110]
call fcn.004076b0
push eax
mov eax, dword [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 0x110]
push ecx
mov ecx, dword [ebp - 0x148]
add ecx, 0x9c
call fcn.00402800
mov edx, dword [ebp - 0x100]
push edx
mov ecx, dword [ebp - 0x148]
add ecx, 0xb5c
call fcn.00402760
lea ecx, [ebp - 0xfc]
call fcn.00458680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc]
call fcn.00402550
mov eax, dword [ebp - 0x148]
cmp dword [eax + 0xb60], 0
je 0x430d82
mov ecx, dword [ebp - 0x148]
add ecx, 0xb5c
call fcn.00457e57
push 1
mov ecx, dword [ebp - 0x148]
call fcn.00402940
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret