Function at 0x422f33
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4862
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.004048c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.004df39f
mov byte [ebp - 4], 1
push 0x104
push 0
lea eax, [ebp - 0x170]
push eax
call fcn.004b9030
add esp, 0xc
push 0
push 0x40
mov ecx, dword [ebp - 0x188]
add ecx, 0x6ed
push ecx
lea ecx, [ebp - 0x68]
call fcn.004df4d6
test eax, eax
jne 0x42300f
mov edx, dword [ebp - 0x188]
add edx, 0x6ed
push edx
push str.Cant_find__s_file__please_check.
lea eax, [ebp - 0x170]
push eax
call fcn.004b953d
add esp, 0xc
push 0
push 0x51c564
lea ecx, [ebp - 0x170]
push ecx
mov ecx, dword [ebp - 0x188]
call fcn.004db06e
mov dword [ebp - 0x174], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.004df493
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004dd6c1
mov eax, dword [ebp - 0x174]
jmp 0x4232b2
push 0x40
push 0
lea edx, [ebp - 0x54]
push edx
call fcn.004b9030
add esp, 0xc
mov eax, dword [ebp - 0x188]
add eax, 0x4e5
push eax
push 0x40
lea ecx, [ebp - 0x54]
push ecx
push 0x53b298
push str.DBSTR
push 0x51c574
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movsx edx, byte [ebp - 0x54]
test edx, edx
jne 0x42308a
cmp dword [0x53b4b8], 0x97a
jne 0x42306d
push str.SM2256XT_DataBase
lea eax, [ebp - 0x54]
push eax
call fcn.004b9290
add esp, 8
jmp 0x42308a
cmp dword [0x53b4b8], 0x979
jne 0x42308a
push str.SM2258XT_DataBase
lea ecx, [ebp - 0x54]
push ecx
call fcn.004b9290
add esp, 8
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x68]
call fcn.004df6b9
test eax, eax
je 0x423202
lea ecx, [ebp - 0x10]
call fcn.0040b850
test eax, eax
je 0x4230ac
jmp 0x42308a
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x10]
call fcn.004d2f51
cmp eax, 0xffffffff
je 0x4231fd
push 0x51c5a4
lea ecx, [ebp - 0x10]
call fcn.004d2f51
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x178]
push edx
lea ecx, [ebp - 0x10]
call fcn.004d2e61
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x190], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x190]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004dd7fa
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x178]
call fcn.004dd6c1
push 0x51c5a8
lea ecx, [ebp - 0x10]
call fcn.004d2f51
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x10]
call fcn.004097c0
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x6c]
sub eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x17c]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004d2de5
mov dword [ebp - 0x194], eax
mov edx, dword [ebp - 0x194]
mov dword [ebp - 0x198], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x198]
push eax
lea ecx, [ebp - 0x10]
call fcn.004dd7fa
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x17c]
call fcn.004dd6c1
lea ecx, [ebp - 0x10]
call fcn.004048e0
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, 1
test edx, edx
je 0x4231ae
mov dword [ebp - 0x19c], 0
jmp 0x4231c5
mov eax, dword [ebp + 8]
push eax
push 0x51c5ac
call fcn.00411ec0
add esp, 8
mov dword [ebp - 0x19c], eax
lea ecx, [ebp - 0x68]
call fcn.004df806
mov dword [ebp - 0x180], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.004df493
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004dd6c1
mov eax, dword [ebp - 0x180]
jmp 0x4232b2
jmp 0x42308a
cmp dword [0x53b4b8], 0x97a
jne 0x423235
mov ecx, dword [ebp - 0x188]
add ecx, 0x6ed
push ecx
lea edx, [ebp - 0x54]
push edx
push str.Its_not_SM2256_dramless_flash_database._r_nCant_find____s___string_at__s_file.
lea eax, [ebp - 0x170]
push eax
call fcn.004b953d
add esp, 0x10
jmp 0x423266
cmp dword [0x53b4b8], 0x979
jne 0x423266
mov ecx, dword [ebp - 0x188]
add ecx, 0x6ed
push ecx
lea edx, [ebp - 0x54]
push edx
push str.Its_not_SM2258XT_flash_database._r_nCant_find____s___string_at__s_file.
lea eax, [ebp - 0x170]
push eax
call fcn.004b953d
add esp, 0x10
push 0
push 0x51c648
lea ecx, [ebp - 0x170]
push ecx
mov ecx, dword [ebp - 0x188]
call fcn.004db06e
lea ecx, [ebp - 0x68]
call fcn.004df806
mov dword [ebp - 0x184], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.004df493
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004dd6c1
mov eax, dword [ebp - 0x184]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4