Function at 0x423c84
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9fc2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x190
mov dword [ebp - 0x188], ecx
lea ecx, [ebp - 0x10]
call fcn.00404900
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.004e4aff
mov byte [ebp - 4], 1
push 0x104
push 0
lea eax, [ebp - 0x170]
push eax
call fcn.004be790
add esp, 0xc
push 0
push 0x40
mov ecx, dword [ebp - 0x188]
add ecx, 0x9c0
push ecx
lea ecx, [ebp - 0x68]
call fcn.004e4c36
test eax, eax
jne 0x423d60
mov edx, dword [ebp - 0x188]
add edx, 0x9c0
push edx
push str.Cant_find__s_file__please_check.
lea eax, [ebp - 0x170]
push eax
call fcn.004bec9d
add esp, 0xc
push 0
push 0x5229e4
lea ecx, [ebp - 0x170]
push ecx
mov ecx, dword [ebp - 0x188]
call fcn.004e07ce
mov dword [ebp - 0x174], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.004e4bf3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004e2e21
mov eax, dword [ebp - 0x174]
jmp 0x424055
push 0x40
push 0
lea edx, [ebp - 0x54]
push edx
call fcn.004be790
add esp, 0xc
mov eax, dword [ebp - 0x188]
add eax, 0x7b8
push eax
push 0x40
lea ecx, [ebp - 0x54]
push ecx
push 0x5423f8
push str.DBSTR
push 0x5229f4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movsx edx, byte [ebp - 0x54]
test edx, edx
jne 0x423dfa
cmp dword [0x542628], 0x97a
jne 0x423dbe
push str.SM2256XT_DataBase
lea eax, [ebp - 0x54]
push eax
call fcn.004be9f0
add esp, 8
jmp 0x423dfa
cmp dword [0x542628], 0x979
jne 0x423ddd
push 0x522a10
lea ecx, [ebp - 0x54]
push ecx
call fcn.004be9f0
add esp, 8
jmp 0x423dfa
cmp dword [0x542628], 0x97b
jne 0x423dfa
push str.SM2258XT_DataBase
lea edx, [ebp - 0x54]
push edx
call fcn.004be9f0
add esp, 8
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x68]
call fcn.004e4e19
test eax, eax
je 0x423f72
lea ecx, [ebp - 0x10]
call fcn.0040bb00
test eax, eax
je 0x423e1c
jmp 0x423dfa
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004d86b1
cmp eax, 0xffffffff
je 0x423f6d
push 0x522a38
lea ecx, [ebp - 0x10]
call fcn.004d86b1
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
push edx
lea eax, [ebp - 0x178]
push eax
lea ecx, [ebp - 0x10]
call fcn.004d85c1
mov dword [ebp - 0x18c], eax
mov ecx, dword [ebp - 0x18c]
mov dword [ebp - 0x190], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x190]
push edx
lea ecx, [ebp - 0x10]
call fcn.004e2f5a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x178]
call fcn.004e2e21
push 0x522a3c
lea ecx, [ebp - 0x10]
call fcn.004d86b1
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x10]
call fcn.00409a80
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x6c]
sub ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x17c]
push edx
lea ecx, [ebp - 0x10]
call fcn.004d8545
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x198], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x198]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004e2f5a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x17c]
call fcn.004e2e21
lea ecx, [ebp - 0x10]
call fcn.00404920
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 1
test eax, eax
je 0x423f1e
mov dword [ebp - 0x19c], 0
jmp 0x423f35
mov ecx, dword [ebp + 8]
push ecx
push 0x522a40
call fcn.00412500
add esp, 8
mov dword [ebp - 0x19c], eax
lea ecx, [ebp - 0x68]
call fcn.004e4f66
mov dword [ebp - 0x180], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.004e4bf3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004e2e21
mov eax, dword [ebp - 0x180]
jmp 0x424055
jmp 0x423dfa
cmp dword [0x542628], 0x97a
jne 0x423fa5
mov edx, dword [ebp - 0x188]
add edx, 0x9c0
push edx
lea eax, [ebp - 0x54]
push eax
push str.Its_not_SM2256_dramless_flash_database._r_nCant_find____s___string_at__s_file.
lea ecx, [ebp - 0x170]
push ecx
call fcn.004bec9d
add esp, 0x10
jmp 0x424009
cmp dword [0x542628], 0x979
jne 0x423fd8
mov edx, dword [ebp - 0x188]
add edx, 0x9c0
push edx
lea eax, [ebp - 0x54]
push eax
push str.Its_not_SM2258XT_flash_database._r_nCant_find____s___string_at__s_file.
lea ecx, [ebp - 0x170]
push ecx
call fcn.004bec9d
add esp, 0x10
jmp 0x424009
cmp dword [0x542628], 0x97b
jne 0x424009
mov edx, dword [ebp - 0x188]
add edx, 0x9c0
push edx
lea eax, [ebp - 0x54]
push eax
push str.Its_not_SM2259XT_flash_database._r_nCant_find____s___string_at__s_file.
lea ecx, [ebp - 0x170]
push ecx
call fcn.004bec9d
add esp, 0x10
push 0
push 0x522b24
lea edx, [ebp - 0x170]
push edx
mov ecx, dword [ebp - 0x188]
call fcn.004e07ce
lea ecx, [ebp - 0x68]
call fcn.004e4f66
mov dword [ebp - 0x184], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.004e4bf3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004e2e21
mov eax, dword [ebp - 0x184]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4