Function at 0x41bd4c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524b03
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.004046f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.0050fa83
mov byte [ebp - 4], 1
push 0x104
push 0
lea eax, [ebp - 0x170]
push eax
call fcn.004e9480
add esp, 0xc
push 0
push 0x40
mov ecx, dword [ebp - 0x188]
add ecx, 0x6ed
push ecx
lea ecx, [ebp - 0x68]
call fcn.0050fbba
test eax, eax
jne 0x41be28
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.004e998d
add esp, 0xc
push 0
push 0x54c4b4
lea ecx, [ebp - 0x170]
push ecx
mov ecx, dword [ebp - 0x188]
call fcn.0050b84e
mov dword [ebp - 0x174], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.0050fb77
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0050dea1
mov eax, dword [ebp - 0x174]
jmp 0x41c0cb
push 0x40
push 0
lea edx, [ebp - 0x54]
push edx
call fcn.004e9480
add esp, 0xc
mov eax, dword [ebp - 0x188]
add eax, 0x4e5
push eax
push 0x40
lea ecx, [ebp - 0x54]
push ecx
push 0x56d3fc
push str.DBSTR
push 0x54c4c4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movsx edx, byte [ebp - 0x54]
test edx, edx
jne 0x41bea3
cmp dword [0x56d5d0], 0x97a
jne 0x41be86
push str.SM2256XT_DataBase
lea eax, [ebp - 0x54]
push eax
call fcn.004e96e0
add esp, 8
jmp 0x41bea3
cmp dword [0x56d5d0], 0x979
jne 0x41bea3
push str.SM2258XT_DataBase
lea ecx, [ebp - 0x54]
push ecx
call fcn.004e96e0
add esp, 8
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x68]
call fcn.0050fd9d
test eax, eax
je 0x41c01b
lea ecx, [ebp - 0x10]
call fcn.00406ac0
test eax, eax
je 0x41bec5
jmp 0x41bea3
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x10]
call fcn.00503731
cmp eax, 0xffffffff
je 0x41c016
push 0x54c4f4
lea ecx, [ebp - 0x10]
call fcn.00503731
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x178]
push edx
lea ecx, [ebp - 0x10]
call fcn.00503641
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.0050dfda
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x178]
call fcn.0050dea1
push 0x54c4f8
lea ecx, [ebp - 0x10]
call fcn.00503731
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x10]
call fcn.004082b0
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.005035c5
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.0050dfda
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x17c]
call fcn.0050dea1
lea ecx, [ebp - 0x10]
call fcn.00404710
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, 1
test edx, edx
je 0x41bfc7
mov dword [ebp - 0x19c], 0
jmp 0x41bfde
mov eax, dword [ebp + 8]
push eax
push 0x54c4fc
call fcn.0040c0c0
add esp, 8
mov dword [ebp - 0x19c], eax
lea ecx, [ebp - 0x68]
call fcn.0050feea
mov dword [ebp - 0x180], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.0050fb77
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0050dea1
mov eax, dword [ebp - 0x180]
jmp 0x41c0cb
jmp 0x41bea3
cmp dword [0x56d5d0], 0x97a
jne 0x41c04e
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.004e998d
add esp, 0x10
jmp 0x41c07f
cmp dword [0x56d5d0], 0x979
jne 0x41c07f
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.004e998d
add esp, 0x10
push 0
push 0x54c598
lea ecx, [ebp - 0x170]
push ecx
mov ecx, dword [ebp - 0x188]
call fcn.0050b84e
lea ecx, [ebp - 0x68]
call fcn.0050feea
mov dword [ebp - 0x184], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.0050fb77
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0050dea1
mov eax, dword [ebp - 0x184]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4