Function at 0x4468f0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x4c
push ebx
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
push esi
mov cx, word [ebp + 0x18e]
mov eax, dword [ebp + 0x16c]
div ecx
mov edx, dword [0x4e5bb8]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push edi
push edx
push 2
push str.SetCmpEcc
push str.Scan
mov ecx, eax
mov al, byte [ebp + 0x34]
imul cl
mov dword [esp + 0x44], ecx
mov byte [esp + 0x38], al
call esi
mov bl, al
mov eax, dword [0x4e5bb8]
push eax
push 0x46
push str.Percent
push str.Scan
call esi
mov byte [esp + 0x30], al
mov al, byte [ebp + 0x838]
cmp al, bl
mov byte [esp + 0x13], al
ja 0x446962
mov byte [esp + 0x13], bl
xor edx, edx
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x3a]
mov word [esp + 0x38], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov al, byte [esp + 0x28]
test al, al
jbe 0x446bc8
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], edx
and eax, 0xff
mov dword [esp + 0x2c], eax
jmp 0x446999
xor edx, edx
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x38]
mov esi, dword [esp + 0x18]
rep stosd dword es:[edi], eax
mov cx, word [ebp + 0x18e]
mov eax, dword [esp + 0x60]
mov edi, ecx
mov dword [esp + 0x24], edx
and edi, 0xffff
mov dword [esp + 0x28], edx
imul esi, edi
add esi, eax
xor eax, eax
cmp cx, dx
mov byte [esp + 0x14], 3
jbe 0x446a37
mov bl, byte [esp + 0x13]
mov dword [esp + 0x20], esi
mov edx, dword [esp + 0x20]
mov dl, byte [edx]
cmp dl, bl
jbe 0x4469f6
test al, 1
je 0x4469f2
inc dword [esp + 0x24]
jmp 0x4469f6
inc dword [esp + 0x28]
mov bl, byte [esp + 0x13]
mov byte [esp + 0x1c], 8
cmp dl, bl
ja 0x446a07
mov byte [esp + 0x1c], dl
mov edx, dword [esp + 0x1c]
test al, 1
je 0x446a1b
and edx, 0xff
lea edx, [esp + edx*2 + 0x4a]
jmp 0x446a25
and edx, 0xff
lea edx, [esp + edx*2 + 0x38]
inc word [edx]
mov edx, dword [esp + 0x20]
inc eax
inc edx
cmp ax, cx
mov dword [esp + 0x20], edx
jb 0x4469de
mov ebx, dword [esp + 0x30]
and ebx, 0xff
mov eax, ebx
imul eax, edi
cdq
sub eax, edx
mov edx, eax
mov eax, dword [esp + 0x24]
and eax, 0xffff
sar edx, 1
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 2
cmp eax, edx
jle 0x446a8d
mov eax, 1
cmp cx, ax
jbe 0x446a85
mov ecx, eax
add eax, 2
and ecx, 0xffff
mov byte [ecx + esi], 0xf0
cmp ax, word [ebp + 0x18e]
jb 0x446a6d
mov cl, 1
mov byte [esp + 0x14], cl
jmp 0x446a91
mov cl, byte [esp + 0x14]
mov di, word [ebp + 0x18e]
mov eax, edi
and eax, 0xffff
imul eax, ebx
cdq
sub eax, edx
mov edx, eax
mov eax, dword [esp + 0x28]
and eax, 0xffff
sar edx, 1
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 2
cmp eax, edx
jle 0x446ae5
xor eax, eax
test di, di
jbe 0x446ade
mov edx, eax
add eax, 2
and edx, 0xffff
mov byte [edx + esi], 0xf0
cmp ax, word [ebp + 0x18e]
jb 0x446ac6
and cl, 0xfe
mov byte [esp + 0x14], cl
mov eax, dword [esp + 0x64]
test eax, eax
je 0x446bb0
mov al, byte [ebp + 0x12e]
test al, al
jne 0x446bb0
xor al, al
test cl, cl
jne 0x446b10
inc al
cmp al, 8
jbe 0x446b01
jmp 0x446bb0
mov eax, 0x1c7
cmp word [esp + 0x38], ax
jbe 0x446b23
and cl, 0xfe
mov byte [esp + 0x14], cl
cmp word [esp + 0x4a], ax
jbe 0x446b31
and cl, 0xfd
mov byte [esp + 0x14], cl
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
push eax
mov eax, edi
and ecx, 0xffff
cdq
idiv ecx
mov eax, edi
imul dx, word [ebp + 0x18e]
push edx
cdq
idiv ecx
mov ecx, ebp
push eax
call fcn.00446be0
test al, 1
je 0x446b89
mov ecx, 1
cmp word [ebp + 0x18e], cx
jbe 0x446b89
mov edx, ecx
add ecx, 2
and edx, 0xffff
mov byte [edx + esi], 0xf0
cmp cx, word [ebp + 0x18e]
jb 0x446b71
test al, 2
je 0x446bb0
xor eax, eax
cmp word [ebp + 0x18e], ax
jbe 0x446bb0
mov ecx, eax
add eax, 2
and ecx, 0xffff
mov byte [ecx + esi], 0xf0
cmp ax, word [ebp + 0x18e]
jb 0x446b98
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
inc ecx
dec eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], eax
jne 0x446997
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x4c
ret 8