Function at 0x10003840
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003a4e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x71c
push 4
push 0
lea eax, [ebp - 0x41c]
push eax
call fcn.10025800
add esp, 0xc
push 4
push 0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.10025800
add esp, 0xc
push 4
push 0
lea edx, [ebp - 0x524]
push edx
call fcn.10025800
add esp, 0xc
push str.SmtSignOcx
push 0x100454c8
push str._s_s.INI
lea eax, [ebp - 0x524]
push eax
call fcn.10026476
add esp, 0x10
push 0
lea ecx, [ebp - 0x524]
push ecx
call fcn.10026430
add esp, 8
test eax, eax
je 0x100038d3
mov word [0x1004b740], 0
lea edx, [ebp - 0x524]
push edx
push 1
push str.LOG_LEVEL
push 0x100454f0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov word [0x1004b740], ax
lea eax, [ebp - 0x524]
push eax
push 0
push str.LOG_WIN
push 0x10045504
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov word [0x1004b73e], ax
movsx ecx, word [0x1004b73e]
cmp ecx, 1
jne 0x10003922
jmp 0x10003bb4
push 4
push 0
lea edx, [ebp - 0x318]
push edx
call fcn.10025800
add esp, 0xc
push str.C:Smartro_log_
lea eax, [ebp - 0x318]
push eax
call fcn.10026340
add esp, 8
mov dword [ebp - 0x420], 0
jmp 0x10003964
mov ecx, dword [ebp - 0x420]
add ecx, 1
mov dword [ebp - 0x420], ecx
cmp dword [ebp - 0x420], 0x104
jge 0x100039a7
mov edx, dword [ebp - 0x420]
movsx eax, byte [ebp + edx - 0x318]
cmp eax, 0x20
je 0x10003995
mov ecx, dword [ebp - 0x420]
movsx edx, byte [ebp + ecx - 0x318]
test edx, edx
jne 0x100039a5
mov eax, dword [ebp - 0x420]
mov byte [ebp + eax - 0x318], 0
jmp 0x100039a7
jmp 0x10003955
push 4
push 0
lea ecx, [ebp - 0x214]
push ecx
call fcn.10025800
add esp, 0xc
push 4
push 0
lea edx, [ebp - 0x728]
push edx
call fcn.10025800
add esp, 0xc
push 4
push 0
lea eax, [ebp - 0x10c]
push eax
call fcn.10025800
add esp, 0xc
push 4
push 0
lea ecx, [ebp - 0x624]
push ecx
call fcn.10025800
add esp, 0xc
lea edx, [ebp - 0x624]
push edx
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x728]
push ecx
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x318]
push eax
call fcn.100261eb
add esp, 0x14
lea ecx, [ebp - 0x728]
push ecx
lea edx, [ebp - 0x214]
push edx
push 0x10045520
push 0x1004b618
call fcn.10026476
add esp, 0x10
push 0x1004b618
call fcn.10026170
add esp, 4
test eax, eax
jne 0x10003a63
lea eax, [ebp - 0x41c]
push eax
push 0x1004b618
call fcn.10026340
add esp, 8
lea ecx, [ebp - 0x628]
call fcn.10002030
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x210]
call fcn.10002030
mov byte [ebp - 4], 1
push 0x1004b408
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push str.SmtSignDLL_
lea ecx, [ebp - 0x628]
call fcn.10036637
xor ecx, ecx
mov cx, word [0x1004b40e]
push ecx
xor edx, edx
mov dx, word [0x1004b40a]
push edx
xor eax, eax
mov ax, word [0x1004b408]
push eax
push str._04d_02d_02d
lea ecx, [ebp - 0x210]
push ecx
call fcn.1003244e
add esp, 0x14
lea edx, [ebp - 0x210]
push edx
lea ecx, [ebp - 0x628]
call fcn.10036722
lea eax, [ebp - 0x10c]
push eax
call fcn.10026170
add esp, 4
test eax, eax
jne 0x10003b10
lea ecx, [ebp - 0x628]
call fcn.10002150
push eax
push 0x1004b518
call fcn.10026340
add esp, 8
jmp 0x10003b29
lea ecx, [ebp - 0x628]
call fcn.10002150
push eax
push 0x1004b518
call fcn.10032c7b
add esp, 8
lea ecx, [ebp - 0x624]
push ecx
call fcn.10026170
add esp, 4
test eax, eax
jne 0x10003b50
push str..LOG
push 0x1004b418
call fcn.10026340
add esp, 8
jmp 0x10003b64
lea edx, [ebp - 0x624]
push edx
push 0x1004b418
call fcn.10026340
add esp, 8
lea eax, [ebp - 0x524]
push eax
push 0xffffffffffffffff
push str.LOG_DATE
push str.LOCAL_LOG
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov word [0x1004b742], ax
movsx ecx, word [0x1004b742]
test ecx, ecx
jle 0x10003b93
call fcn.10003f06
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x210]
call fcn.100364fa
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x628]
call fcn.100364fa
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret