Function at 0x43ffec
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa353
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x668
mov dword [ebp - 0x674], ecx
lea ecx, [ebp - 0x634]
call fcn.004e3ec0
mov dword [ebp - 4], 0
mov dword [ebp - 0x648], 0
push 0xfa000
push 0
mov eax, dword [ebp + 0x10]
push eax
call fcn.004be790
add esp, 0xc
push 0x529fd8
mov ecx, dword [ebp - 0x674]
add ecx, 0x1e4
push ecx
call fcn.004bf3f0
add esp, 8
test eax, eax
je 0x440084
mov dword [ebp - 0x650], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x634]
call fcn.004e3fb5
mov eax, dword [ebp - 0x650]
jmp 0x4409d0
push 0x208
push 0
lea edx, [ebp - 0x418]
push edx
call fcn.004be790
add esp, 0xc
mov eax, dword [ebp - 0x674]
add eax, 0x1fc
push eax
lea ecx, [ebp - 0x418]
push ecx
call fcn.004be9f0
add esp, 8
push 0x529fdc
lea edx, [ebp - 0x418]
push edx
call fcn.004bea00
add esp, 8
push 0x208
push 0
lea eax, [ebp - 0x624]
push eax
call fcn.004be790
add esp, 0xc
mov ecx, dword [ebp - 0x674]
add ecx, 0x404
push ecx
push 0x208
lea edx, [ebp - 0x624]
push edx
push 0x5424a4
push 0x529fe8
push 0x529ff0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movsx eax, byte [ebp - 0x624]
test eax, eax
jne 0x44012c
push 0x529ff8
lea ecx, [ebp - 0x624]
push ecx
call fcn.004bea00
add esp, 8
lea edx, [ebp - 0x624]
push edx
lea eax, [ebp - 0x418]
push eax
call fcn.004bea00
add esp, 8
cmp dword [0x5433b8], 0
je 0x440603
push 0x52a000
mov ecx, dword [ebp - 0x674]
add ecx, 0x1e4
push ecx
call fcn.004bf3f0
add esp, 8
test eax, eax
je 0x440186
push 0x52a008
lea edx, [ebp - 0x418]
push edx
call fcn.004bea00
add esp, 8
jmp 0x44057f
push 0x52a010
mov eax, dword [ebp - 0x674]
add eax, 0x1e4
push eax
call fcn.004bf3f0
add esp, 8
test eax, eax
je 0x4401bc
push 0x52a018
lea ecx, [ebp - 0x418]
push ecx
call fcn.004bea00
add esp, 8
jmp 0x44057f
push 0x52a020
mov edx, dword [ebp - 0x674]
add edx, 0x1e4
push edx
call fcn.004bf3f0
add esp, 8
test eax, eax
je 0x4401f3
push 0x52a028
lea eax, [ebp - 0x418]
push eax
call fcn.004bea00
add esp, 8
jmp 0x44057f
push 0x52a030
mov ecx, dword [ebp - 0x674]
add ecx, 0x1e4
push ecx
call fcn.004bf3f0
add esp, 8
test eax, eax
je 0x44022a
push 0x52a038
lea edx, [ebp - 0x418]
push edx
call fcn.004bea00
add esp, 8
jmp 0x44057f
push 0x52a040
mov eax, dword [ebp - 0x674]
add eax, 0x1e4
push eax
call fcn.004bf3f0
add esp, 8
test eax, eax
je 0x440260
push 0x52a048
lea ecx, [ebp - 0x418]
push ecx
call fcn.004bea00
add esp, 8
jmp 0x44057f
push 0x52a050
mov edx, dword [ebp - 0x674]
add edx, 0x1e4
push edx
call fcn.004bf3f0
add esp, 8
test eax, eax
je 0x440297
push 0x52a058
lea eax, [ebp - 0x418]
push eax
call fcn.004bea00
add esp, 8
jmp 0x44057f
push 0x52a060
mov ecx, dword [ebp - 0x674]
add ecx, 0x1e4
push ecx
call fcn.004bf3f0
add esp, 8
test eax, eax
je 0x4402ce
push 0x52a068
lea edx, [ebp - 0x418]
push edx
call fcn.004bea00
add esp, 8
jmp 0x44057f
push 0x52a070
mov eax, dword [ebp - 0x674]
add eax, 0x1e4
push eax
call fcn.004bf3f0
add esp, 8
test eax, eax
je 0x440304
push 0x52a074
lea ecx, [ebp - 0x418]
push ecx
call fcn.004bea00
add esp, 8
jmp 0x44057f
push 0x52a07c
mov edx, dword [ebp - 0x674]
add edx, 0x1e4
push edx
call fcn.004bf3f0
add esp, 8
test eax, eax
je 0x44033b
push 0x52a084
lea eax, [ebp - 0x418]
push eax
call fcn.004bea00
add esp, 8
jmp 0x44057f
push 0x52a08c
mov ecx, dword [ebp - 0x674]
add ecx, 0x1e4
push ecx
call fcn.004bf3f0
add esp, 8
test eax, eax
je 0x440372
push 0x52a094
lea edx, [ebp - 0x418]
push edx
call fcn.004bea00
add esp, 8
jmp 0x44057f
push 0x52a09c
mov eax, dword [ebp - 0x674]
add eax, 0x1e4
push eax
call fcn.004bf3f0
add esp, 8
test eax, eax
je 0x4403a8
push 0x52a0a4
lea ecx, [ebp - 0x418]
push ecx
call fcn.004bea00
add esp, 8
jmp 0x44057f
push 0x52a0ac
mov edx, dword [ebp - 0x674]
add edx, 0x1e4
push edx
call fcn.004bf3f0
add esp, 8
test eax, eax
je 0x4403df
push 0x52a0b4
lea eax, [ebp - 0x418]
push eax
call fcn.004bea00
add esp, 8
jmp 0x44057f
push 0x52a0bc
mov ecx, dword [ebp - 0x674]
add ecx, 0x1e4
push ecx
call fcn.004bf3f0
add esp, 8
test eax, eax
je 0x440416
push 0x52a0c4
lea edx, [ebp - 0x418]
push edx
call fcn.004bea00
add esp, 8
jmp 0x44057f
push 0x52a0cc
mov eax, dword [ebp - 0x674]
add eax, 0x1e4
push eax
call fcn.004bf3f0
add esp, 8
test eax, eax
je 0x44044c
push 0x52a0d4
lea ecx, [ebp - 0x418]
push ecx
call fcn.004bea00
add esp, 8
jmp 0x44057f
push 0x52a0dc
mov edx, dword [ebp - 0x674]
add edx, 0x1e4
push edx
call fcn.004bf3f0
add esp, 8
test eax, eax
je 0x440483
push str.B05
lea eax, [ebp - 0x418]
push eax
call fcn.004bea00
add esp, 8
jmp 0x44057f
push 0x52a0e8
mov ecx, dword [ebp - 0x674]
add ecx, 0x1e4
push ecx
call fcn.004bf3f0
add esp, 8
test eax, eax
je 0x4404ba
push 0x52a0f0
lea edx, [ebp - 0x418]
push edx
call fcn.004bea00
add esp, 8
jmp 0x44057f
push 0x52a0f8
mov eax, dword [ebp - 0x674]
add eax, 0x1e4
push eax
call fcn.004bf3f0
add esp, 8
test eax, eax
je 0x4404f0
push 0x52a100
lea ecx, [ebp - 0x418]
push ecx
call fcn.004bea00
add esp, 8
jmp 0x44057f
push 0x52a108
mov edx, dword [ebp - 0x674]
add edx, 0x1e4
push edx
call fcn.004bf3f0
add esp, 8
test eax, eax
je 0x440524
push 0x52a110
lea eax, [ebp - 0x418]
push eax
call fcn.004bea00
add esp, 8
jmp 0x44057f
push 0x52a118
mov ecx, dword [ebp - 0x674]
add ecx, 0x1e4
push ecx
call fcn.004bf3f0
add esp, 8
test eax, eax
je 0x440558
push 0x52a120
lea edx, [ebp - 0x418]
push edx
call fcn.004bea00
add esp, 8
jmp 0x44057f
mov dword [ebp - 0x654], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x634]
call fcn.004e3fb5
mov eax, dword [ebp - 0x654]
jmp 0x4409d0
cmp dword [0x5425b8], 0
je 0x440603
push 0x208
push 0
lea eax, [ebp - 0x624]
push eax
call fcn.004be790
add esp, 0xc
mov ecx, dword [ebp - 0x674]
movsx edx, byte [ecx + 0x1ed]
push edx
mov eax, dword [ebp - 0x674]
movsx ecx, byte [eax + 0x1ec]
push ecx
push str._c_c
lea edx, [ebp - 0x624]
push edx
call fcn.004bec9d
add esp, 0x10
movsx eax, byte [ebp - 0x624]
test eax, eax
je 0x440603
push 0x52a130
lea ecx, [ebp - 0x418]
push ecx
call fcn.004bea00
add esp, 8
lea edx, [ebp - 0x624]
push edx
lea eax, [ebp - 0x418]
push eax
call fcn.004bea00
add esp, 8
push str.DgISP_
lea ecx, [ebp - 0x418]
push ecx
call fcn.004bea00
add esp, 8
push 0x208
push 0
lea edx, [ebp - 0x624]
push edx
call fcn.004be790
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x624]
push ecx
call fcn.004be9f0
add esp, 8
push str.MainTag.bin
lea edx, [ebp - 0x624]
push edx
call fcn.004bea00
add esp, 8
push 0
push 0x8040
lea eax, [ebp - 0x624]
push eax
lea ecx, [ebp - 0x634]
call fcn.004e4072
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jne 0x4406a6
mov dword [ebp - 0x658], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x634]
call fcn.004e3fb5
mov eax, dword [ebp - 0x658]
jmp 0x4409d0
push 0x200
push 0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004be790
add esp, 0xc
lea ecx, [ebp - 0x634]
call fcn.004e436c
mov dword [ebp - 0x210], eax
mov edx, dword [ebp - 0x210]
push edx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x634]
call fcn.004e418f
lea ecx, [ebp - 0x634]
call fcn.004e428d
push 0x10
mov ecx, dword [ebp - 0x674]
add ecx, 0x1e4
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.004bed30
add esp, 0xc
test eax, eax
je 0x44073a
mov dword [ebp - 0x65c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x634]
call fcn.004e3fb5
mov eax, dword [ebp - 0x65c]
jmp 0x4409d0
push 0x208
push 0
lea eax, [ebp - 0x624]
push eax
call fcn.004be790
add esp, 0xc
lea ecx, [ebp - 0x418]
push ecx
lea edx, [ebp - 0x624]
push edx
call fcn.004be9f0
add esp, 8
push str.DgISP_ReadBadInfo.bin
lea eax, [ebp - 0x624]
push eax
call fcn.004bea00
add esp, 8
push 0
push 0x8040
lea ecx, [ebp - 0x624]
push ecx
lea ecx, [ebp - 0x634]
call fcn.004e4072
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jne 0x4407c9
mov dword [ebp - 0x660], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x634]
call fcn.004e3fb5
mov eax, dword [ebp - 0x660]
jmp 0x4409d0
lea ecx, [ebp - 0x634]
call fcn.004e436c
mov dword [ebp - 0x210], eax
mov edx, dword [ebp - 0x210]
push edx
call fcn.004bf27e
add esp, 4
mov dword [ebp - 0x648], eax
cmp dword [ebp - 0x648], 0
jne 0x44082a
lea ecx, [ebp - 0x634]
call fcn.004e428d
mov dword [ebp - 0x664], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x634]
call fcn.004e3fb5
mov eax, dword [ebp - 0x664]
jmp 0x4409d0
mov eax, dword [ebp - 0x210]
push eax
push 0
mov ecx, dword [ebp - 0x648]
push ecx
call fcn.004be790
add esp, 0xc
mov edx, dword [ebp - 0x210]
push edx
mov eax, dword [ebp - 0x648]
push eax
lea ecx, [ebp - 0x634]
call fcn.004e418f
lea ecx, [ebp - 0x634]
call fcn.004e428d
push 0x200
push 0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004be790
add esp, 0xc
push 0x10
mov edx, dword [ebp - 0x210]
mov eax, dword [ebp - 0x648]
lea ecx, [eax + edx - 0x10]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.004bee30
add esp, 0xc
push 0x10
mov eax, dword [ebp - 0x674]
add eax, 0x1e4
push eax
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004bed30
add esp, 0xc
test eax, eax
je 0x4408f5
mov edx, dword [ebp - 0x648]
push edx
call fcn.004bf16d
add esp, 4
mov dword [ebp - 0x668], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x634]
call fcn.004e3fb5
mov eax, dword [ebp - 0x668]
jmp 0x4409d0
mov eax, dword [ebp - 0x210]
add eax, 0x1ff
cdq
and edx, 0x1ff
add eax, edx
sar eax, 9
mov byte [ebp - 0x64c], al
mov eax, dword [ebp + 0x10]
push eax
mov cl, byte [ebp - 0x64c]
push ecx
mov edx, dword [ebp - 0x648]
push edx
lea eax, [ebp + 8]
push eax
call dword [0x5424ac]
add esp, 0x10
mov byte [ebp - 0x638], al
mov ecx, dword [ebp - 0x638]
and ecx, 0xff
cmp ecx, 1
je 0x44097b
mov edx, dword [ebp - 0x648]
push edx
call fcn.004bf16d
add esp, 4
mov dword [ebp - 0x66c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x634]
call fcn.004e3fb5
mov eax, dword [ebp - 0x66c]
jmp 0x4409d0
push 0x200
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x644]
push edx
call fcn.004b13ee
add esp, 0x10
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp - 0x648]
push eax
call fcn.004bf16d
add esp, 4
mov ecx, dword [ebp - 0x41c]
mov dword [ebp - 0x670], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x634]
call fcn.004e3fb5
mov eax, dword [ebp - 0x670]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc