Function at 0x10002210
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
push str._s_r_n
push ecx
push edx
call fcn.10004c70
add esp, 0x10
mov eax, 1
ret
mov eax, 0x1890
call fcn.10006400
mov eax, dword [0x10019270]
xor eax, esp
mov dword [esp + 0x188c], eax
mov eax, dword [esp + 0x1898]
push ebx
push ebp
mov ebp, dword [esp + 0x18a8]
push esi
push edi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0x1001a680
push 1
push str.Type1_LogDumpEnable
push 0x100140bc
mov ebx, eax
call esi
push 0x1001a680
push 3
push str.Type1_LogDumpLevel
push 0x100140bc
mov edi, eax
call esi
push 0x1001a680
push 0xffffffffffffffff
push str.Type1_LogDumpSizeLimit
push 0x100140bc
mov dword [esp + 0x20], eax
call esi
test edi, edi
mov esi, eax
je 0x100024b7
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x18a4], ecx
jg 0x100024b7
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push ebx
lea edx, [esp + 0x8a0]
push str.__08X_
push edx
call edi
push ebp
lea eax, [esp + 0x8ac]
push 0x1000
push eax
call fcn.10006002
lea eax, [esp + 0x8b4]
add esp, 0x18
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100022e0
sub eax, edx
cmp byte [esp + eax + 0x89b], 0xa
je 0x1000230f
push 0x10014158
lea ecx, [esp + 0x8a0]
push 0x1000
push ecx
call fcn.10006002
add esp, 0xc
push 0x10014154
lea edx, [esp + 0x18]
push 0x1001a788
push edx
call fcn.100063a1
add esp, 0xc
test eax, eax
jne 0x100024b7
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x8a0]
push ecx
call fcn.1000619b
mov eax, dword [esp + 0x18b4]
add esp, 8
test esi, esi
mov dword [esp + 0x10], eax
jl 0x1000235a
cmp eax, esi
jle 0x1000235a
mov dword [esp + 0x10], esi
mov edx, dword [esp + 0x14]
push edx
push str.___________0_1_2_3_4_5_6_7_8_9_A_B_C_D_E_F__n
call fcn.1000619b
xor ebx, ebx
add esp, 8
cmp dword [esp + 0x10], ebx
jle 0x10002494
mov ebp, dword [esp + 0x18]
lea esp, [esp]
push ebx
lea eax, [esp + 0xa0]
push str.___08X:
push eax
call edi
add esp, 0xc
xor esi, esi
jmp 0x100023a0
lea ecx, [esi + ebx]
cmp ecx, dword [esp + 0x10]
lea eax, [esp + 0x9c]
lea edx, [eax + 1]
jge 0x10002411
cmp esi, 7
jne 0x100023d7
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100023b8
sub eax, edx
movsx edx, byte [ebp + 7]
push edx
push str._02X_
lea eax, [esp + eax + 0xa4]
push eax
jmp 0x100023f4
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100023d7
movsx ecx, byte [esi + ebp]
push ecx
sub eax, edx
push str._02X
lea edx, [esp + eax + 0xa4]
push edx
call edi
mov al, byte [esi + ebp]
add esp, 0xc
cmp al, 0x20
jl 0x1000240a
cmp al, 0x7e
jg 0x1000240a
mov byte [esp + esi + 0x1c], al
jmp 0x10002433
mov byte [esp + esi + 0x1c], 0x2e
jmp 0x10002433
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10002411
sub eax, edx
lea eax, [esp + eax + 0x9c]
push 0x100140f8
push eax
call edi
add esp, 8
mov byte [esp + esi + 0x1c], 0x20
add esi, 1
cmp esi, 0x10
jl 0x100023a0
lea eax, [esp + 0x9c]
mov byte [esp + 0x2c], 0
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10002450
lea ecx, [esp + 0x1c]
push ecx
sub eax, edx
lea edx, [esp + eax + 0xa0]
push str._s_n
push edx
call edi
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0xac]
push ecx
call fcn.1000619b
add ebx, 0x10
add esp, 0x14
add ebp, 0x10
cmp ebx, dword [esp + 0x10]
jl 0x10002380
mov edx, dword [esp + 0x14]
push edx
push 0x10014158
call fcn.1000619b
mov eax, dword [esp + 0x1c]
push eax
call fcn.1000611f
add esp, 0xc
mov eax, 1
jmp 0x100024b9
xor eax, eax
mov ecx, dword [esp + 0x189c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10005f65
add esp, 0x1890
ret
mov ecx, dword [0x1001aa9c]
xor eax, eax
sub ecx, 1
je 0x10002697
sub ecx, 1
jne 0x1000269c
jmp 0x100021e0
jmp 0x10002210
ret