Function at 0x4321d0
Capabilities:
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x46c
push ebx
mov ebx, ecx
push esi
push edi
cmp byte [ebx + 0x12f], 3
je 0x4321f5
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x4971e8]
push eax
push 0
push str.CheckSlcMode
push str.Debug
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test al, al
jne 0x43221c
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.WINMM.dll_timeGetTime]
mov cl, byte [ebx + 0x2c]
mov dl, byte [ebx + 0x121]
mov byte [esp + 0x30], cl
mov byte [esp + 0x40], dl
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
and ecx, 0xff
and eax, 0xff
mov di, word [ebx + 0x122]
imul eax, ecx
and edi, 0xffff
mov si, word [ebx + 0x124]
imul eax, edi
mov dword [esp + 0x64], ecx
push 0
mov ecx, ebx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x70], edi
mov dword [esp + 0x54], eax
call fcn.004320f0
mov ax, word [ebx + 0xec]
mov cl, byte [ebx + 0xea]
push 6
push eax
push ecx
push 1
mov ecx, ebx
call fcn.0041f1d0
mov dl, byte [ebx + 0xea]
push 0
push 6
push edx
push 1
push 0
push 0
mov ecx, ebx
call fcn.004214e0
mov eax, dword [ebp + 0xc]
push 0xff
push 0
push 0
push eax
push 1
mov ecx, ebx
call fcn.0041f920
lea ecx, [edi + edi]
mov dword [esp + 0x38], 0
push ecx
call sub.MFC42.DLL_operatornew
push edi
mov dword [esp + 0x24], eax
call sub.MFC42.DLL_operatornew
add esp, 8
mov dword [esp + 0x34], eax
mov byte [esp + 0x13], 0
xor eax, eax
mov ecx, ebx
push eax
push eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
call fcn.00422400
mov al, byte [esp + 0x30]
mov byte [esp + 0x18], 0
test al, al
jbe 0x43266a
mov edi, dword [esp + 0x18]
mov al, byte [esp + 0x40]
and edi, 0xff
mov byte [esp + 0x24], 0
test al, al
mov dl, byte [edi + 0x476364]
mov dword [esp + 0x14], edi
mov byte [esp + 0x68], dl
jbe 0x432654
movzx ax, byte [esp + 0x24]
imul eax, esi
push eax
mov ecx, ebx
mov dword [esp + 0x60], eax
call fcn.004320b0
mov al, byte [ebx + 0x5934]
mov byte [esp + 0x28], 0
test al, al
jbe 0x43263e
and esi, 0xffff
mov eax, dword [ebp + 8]
imul esi, edi
imul esi, dword [esp + 0x64]
add esi, eax
mov dword [esp + 0x60], esi
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.0041bae0
mov cl, byte [ebx + 0x5934]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x6c]
push ecx
push edx
and ecx, 0xff
cdq
idiv ecx
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x24]
push 0x1000
push eax
movzx ax, byte [esp + 0x38]
add eax, ecx
mov ecx, ebx
push eax
push edi
call fcn.00431dc0
mov ecx, dword [esp + 0x68]
mov edx, dword [ebp + 8]
mov esi, eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push esi
push edi
push eax
mov ecx, ebx
mov dword [esp + 0x60], esi
call fcn.00431ef0
test si, si
mov dword [esp + 0x2c], 0
jbe 0x43260f
test byte [ebx + 0xb8], 0xe0
jne 0x4326bd
mov ecx, dword [esp + 0x2c]
mov eax, esi
and ecx, 0xffff
and eax, 0xffff
sub eax, ecx
mov dword [esp + 0x3c], ecx
cmp eax, 8
mov dword [esp + 0x20], eax
jl 0x432425
mov dword [esp + 0x20], 8
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x48]
and esi, 0xffff
xor edx, edx
add eax, esi
mov dword [esp + 0x74], 0
mov dword [esp + 0x48], eax
sub esp, 8
lea eax, [eax + eax*4]
lea ecx, [ebx + 0xc0]
mov dword [esp + 0x5c], esi
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
div dword [esp + 0x58]
mov dword [esp + 0x78], eax
fild qword [esp + 0x78]
fmul qword [0x477188]
fstp qword [esp]
push str.Extra_Check..._2.1f__
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [ebx + 4]
mov eax, dword [0x49772c]
add esp, 0x10
push 0
push edx
push 0x40c
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov edx, dword [esp + 0x1c]
mov ecx, 0x80
or eax, 0xffffffff
lea edi, [esp + 0x78]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x3c]
lea ecx, [esi + esi]
lea edi, [esp + 0x78]
push 2
lea esi, [edx + eax*2]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x38]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x58]
lea esi, [eax + edx]
mov eax, ecx
lea edi, [esp + 0x17c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov edx, dword [esp + 0x24]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x7c]
push ecx
push 1
push edx
mov ecx, ebx
call fcn.00432000
mov ecx, 0x80
or eax, 0xffffffff
lea edi, [esp + 0x278]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x278]
mov ecx, ebx
push eax
push 1
call fcn.00422770
xor esi, esi
cmp word [esp + 0x20], si
jbe 0x4325bb
mov edx, esi
and edx, 0xffff
cmp byte [esp + edx + 0x278], 0xe4
jne 0x4325af
mov edi, dword [esp + 0x44]
mov ecx, 0x80
inc edi
or eax, 0xffffffff
mov dword [esp + 0x44], edi
lea edi, [esp + 0x78]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x1c]
add edx, ecx
mov dword [ebx + 0x6018], 1
mov cx, word [eax + edx*2]
lea edx, [esp + 0x78]
mov word [esp + 0x78], cx
push edx
push 1
mov ecx, ebx
call fcn.00422710
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x78]
push eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x7c]
push 1
push eax
push 1
push 1
push ecx
mov ecx, ebx
call fcn.00432050
mov al, byte [esp + 0x78]
mov cl, byte [ebx + 0x52f4]
cmp al, cl
ja 0x4325d6
inc esi
cmp si, word [esp + 0x20]
jb 0x432528
mov eax, dword [esp + 0x2c]
add eax, 8
cmp ax, word [esp + 0x4c]
mov dword [esp + 0x2c], eax
jae 0x43260f
mov esi, dword [esp + 0x4c]
jmp 0x4323f0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
and esi, 0xffff
and ecx, 0xffff
add esi, ecx
mov dword [ebx + 0x6014], 1
mov dword [esp + 0x38], 1
mov cx, word [edx + esi*2]
mov byte [ebx + 0x6010], al
mov word [ebx + 0x600e], cx
mov ecx, ebx
call fcn.0041bef0
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x43267c
mov al, byte [esp + 0x28]
mov cl, byte [ebx + 0x5934]
inc al
cmp al, cl
mov byte [esp + 0x28], al
jb 0x432374
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x14]
mov al, byte [esp + 0x24]
mov cl, byte [esp + 0x40]
inc al
cmp al, cl
mov byte [esp + 0x24], al
jb 0x432335
mov al, byte [esp + 0x18]
mov cl, byte [esp + 0x30]
inc al
cmp al, cl
mov byte [esp + 0x18], al
jb 0x43230c
mov al, byte [esp + 0x13]
inc al
cmp al, 1
mov byte [esp + 0x13], al
jb 0x4322e8
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43268d
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x34]
test eax, eax
je 0x43269e
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x38]
test eax, eax
je 0x432714
lea edx, [esp + 0x14]
push 0x48d780
push edx
mov dword [esp + 0x1c], 0x92f00
call sub.MSVCRT.dll__CxxThrowException
test byte [ebx + 0xb8], 0x40
je 0x4326dd
lea edx, [esp + 0x14]
push 0x48d780
push edx
mov dword [esp + 0x1c], 0xa0000
call sub.MSVCRT.dll__CxxThrowException
test byte [ebx + 0xb8], 0x20
je 0x4326fd
lea eax, [esp + 0x14]
push 0x48d780
push eax
mov dword [esp + 0x1c], 0xa0100
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [esp + 0x14]
push 0x48d780
push ecx
mov dword [esp + 0x1c], 0xa0001
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push 0
push eax
push ecx
mov ecx, ebx
call fcn.00430e40
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8