Function at 0x424230
Capabilities:
Read .ini file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3268
call fcn.0044fa20
mov eax, dword [0x4b3d28]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
push edi
push 0x14
push 0x4b4d10
push 1
push ebx
mov dword [ebp - 0x324c], ebx
call esi
push 0x14
push 0x4b4d44
push 1
push ebx
call esi
lea eax, [ebp - 0x3234]
push eax
call fcn.00416c40
add esp, 4
xor edi, edi
xor esi, esi
nop dword [eax]
nop dword [eax + eax]
cmp dword [ebp - 0x3220], 0x10
lea eax, [ebp - 0x3234]
cmovae eax, dword [ebp - 0x3234]
mov al, byte [eax + esi]
mov byte [ebp - 0x3235], al
lea eax, [ebp - 0x3235]
push eax
call fcn.00470fda
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x424314
cmp edi, 0xa
jge 0x424314
movsd xmm0, qword [0x499888]
movd xmm1, edi
cvtdq2ps xmm1, xmm1
cvtps2pd xmm1, xmm1
call fcn.00471170
mov eax, dword [0x4b8ba8]
movd xmm1, ebx
cvtdq2pd xmm1, xmm1
mulsd xmm0, xmm1
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x499890]
addsd xmm0, xmm1
call fcn.00450021
mov dword [0x4b8ba8], eax
inc edi
jmp 0x424335
push dword [0x4b8ba8]
call fcn.0045ab4a
add esp, 4
call fcn.0045ab29
cdq
mov ecx, 0x7fff
idiv ecx
add dword [0x4b8ba8], edx
inc esi
cmp esi, 0xc
jl 0x424290
mov eax, dword [0x4b8434]
test eax, eax
je 0x42435d
push 0x24
push eax
call fcn.0044f9cb
add esp, 8
mov dword [0x4b8434], 0
push 0x24
call fcn.0044f998
push eax
mov dword [0x4b8434], eax
call fcn.00471058
push 0x498ecc
push str.Codemcd.se
call fcn.0045af79
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42477a
push esi
push 1
lea eax, [ebp - 0x321c]
push 0x3000
push eax
call fcn.0045b20f
push esi
call fcn.0045ac26
push 0x3980f9a0
call fcn.0045ab4a
add esp, 0x18
mov esi, 0xc00
call fcn.0045ab29
sub esi, 1
jne 0x4243b7
mov esi, 0x4b7910
mov edi, 0x20
mov ebx, 0xc00
call fcn.0045ab29
cdq
idiv ebx
cmp dword [ebp + edx*4 - 0x321c], 0
je 0x4243ec
mov al, byte [ebp + edx*4 - 0x321c]
mov byte [esi], al
inc esi
sub edi, 1
jne 0x4243d0
call fcn.0045ab29
cdq
idiv ebx
mov ebx, dword [ebp + edx*4 - 0x321c]
sub ebx, 0x4d2
call fcn.0045ab29
cdq
mov esi, 0xc00
idiv esi
mov edi, dword [ebp + edx*4 - 0x321c]
sub edi, 0xd5d
call fcn.0045ab29
cdq
idiv esi
mov eax, dword [ebp + edx*4 - 0x321c]
sub eax, 0x92f
mov dword [ebp - 0x3248], eax
call fcn.0045ab29
cdq
idiv esi
mov eax, dword [ebp + edx*4 - 0x321c]
mov dword [ebp - 0x3244], eax
call fcn.0045ab29
cdq
idiv esi
mov eax, dword [ebp + edx*4 - 0x321c]
mov dword [ebp - 0x3240], eax
call fcn.0045ab29
cdq
idiv esi
mov eax, dword [ebp + edx*4 - 0x321c]
mov dword [ebp - 0x323c], eax
call fcn.0045ab29
cdq
idiv esi
mov esi, dword [ebp + edx*4 - 0x321c]
call fcn.0045ab29
cdq
mov ecx, 0xc00
idiv ecx
imul eax, dword [ebp - 0x3244], 0x64
mov ecx, dword [0x4b8434]
add eax, dword [ebp - 0x3240]
imul eax, eax, 0x64
add eax, dword [ebp - 0x323c]
imul eax, eax, 0x64
add eax, esi
imul eax, eax, 0x64
add eax, dword [ebp + edx*4 - 0x321c]
mov dword [0x4b8bac], eax
test eax, eax
jle 0x4244f3
mov eax, dword [ebp - 0x323c]
cmp eax, dword [ecx + 0xc]
jne 0x4244f3
mov eax, dword [ecx + 0x10]
inc eax
cmp dword [ebp - 0x3240], eax
jne 0x4244f3
mov eax, dword [ecx + 0x14]
mov esi, 0xa
cdq
idiv esi
cmp dword [ebp - 0x3244], edx
je 0x4244fd
mov dword [0x4b8bac], 0
mov edx, dword [ebp - 0x3248]
imul eax, ebx, 0x64
add eax, edi
imul eax, eax, 0x64
add eax, edx
mov dword [0x4b35c4], eax
mov eax, dword [ecx + 0x14]
sub eax, 0x64
cmp ebx, eax
jl 0x42477a
jne 0x424539
mov eax, dword [ecx + 0x10]
inc eax
cmp edi, eax
jl 0x42477a
jne 0x424539
cmp edx, dword [ecx + 0xc]
jl 0x42477a
mov esi, dword [ebp - 0x3220]
lea eax, [ebp - 0x3234]
mov edx, dword [ebp - 0x3234]
cmp esi, 0x10
mov ecx, 0x4b7910
cmovae eax, edx
mov bl, byte [eax]
cmp bl, byte [ecx]
jne 0x424576
test bl, bl
je 0x424572
mov bl, byte [eax + 1]
cmp bl, byte [ecx + 1]
jne 0x424576
add eax, 2
add ecx, 2
test bl, bl
jne 0x424556
xor eax, eax
jmp 0x42457b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x424786
mov edi, dword [sym.imp.WINMM.dll_timeGetTime]
call edi
mov dword [0x4b6104], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4b6104]
add ecx, eax
push ecx
mov dword [0x4b6104], ecx
call fcn.0045ab4a
push dword [ebp + 0x14]
push dword [ebp - 0x324c]
call fcn.00422210
add esp, 0xc
test eax, eax
je 0x42477a
push 0
call dword [sym.imp.USER32.dll_ShowCursor]
push 1
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
call edi
push str..OiddInfo.ini
push 8
lea eax, [ebp - 0x104]
push eax
push 0x499393
push str.COM_PORT
push str.GAME
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x104]
lea ecx, [ecx + 1]
mov byte [ecx + 0x4b4d9f], al
test al, al
jne 0x424600
push 0x4b4da3
call fcn.00470fda
add esp, 4
mov byte [0x4b60e7], 0
cmp eax, 0xf
jge 0x424664
push 0
push 0
push 8
push 0x2580
push 0x4b4da0
mov ecx, 0x4b5118
mov byte [0x4b60e7], 1
call fcn.00415a90
test eax, eax
jne 0x42467b
push eax
push eax
push 0x10
push dword [0x4b60d4]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x42467b
and eax, 0x80000001
jns 0x424670
dec eax
or eax, 0xfffffffe
inc eax
dec eax
neg eax
sbb eax, eax
inc eax
mov dword [0x4b60d0], eax
push 0x4b00
push 0x4b4da8
mov ecx, 0x4b5110
call dword [sym.imp.AceBoard.dll_public:_int___thiscall_CAceBoard::OpenAcePort_char___unsigned_long_int_]
mov dword [0x4b86b0], 0
xor eax, eax
mov dword [0x4b5118], 0
nop word [eax + eax]
mov dword [ebp + eax*8 - 0x21c], 1
inc eax
cmp eax, 0x23
jl 0x4246b0
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x3268]
push eax
call ebx
test eax, eax
je 0x42470f
push 0
push 0
push 0
lea eax, [ebp - 0x3268]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x424766
lea eax, [ebp - 0x3268]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x3268]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x4246c7
call edi
mov esi, eax
cmp dword [0x4b60bc], esi
jge 0x424756
mov ecx, dword [0x4b4d9c]
call fcn.00420950
cmp dword [0x4b1098], 0
je 0x42473a
mov ecx, dword [0x4b4d9c]
call fcn.004205b0
mov ecx, dword [0x4b4d9c]
call fcn.00420640
call fcn.00422d20
mov eax, dword [0x4b3520]
add eax, esi
mov dword [0x4b60bc], eax
mov ecx, dword [0x4b4d9c]
call fcn.00422130
jmp 0x4246c7
mov edi, dword [ebp - 0x3260]
mov esi, dword [ebp - 0x3220]
mov edx, dword [ebp - 0x3234]
jmp 0x424788
mov esi, dword [ebp - 0x3220]
mov edx, dword [ebp - 0x3234]
xor edi, edi
cmp esi, 0x10
jb 0x4247ba
lea eax, [esi + 1]
cmp eax, 0x1000
jb 0x4247b1
test dl, 0x1f
jne 0x4247cf
mov eax, dword [edx - 4]
cmp eax, edx
jae 0x4247d4
sub edx, eax
cmp edx, 4
jb 0x4247d9
cmp edx, 0x23
ja 0x4247de
mov edx, eax
push edx
call fcn.0044fa52
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f9e2
mov esp, ebp
pop ebp
ret 0x10
call fcn.0046d1c5
call fcn.0046d1c5
call fcn.0046d1c5
call fcn.0046d1c5
int3