Function at 0x434e60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
cmp dword [ebp + 8], 0
push ebx
push esi
mov ebx, ecx
push 0x498ecc
jne 0x434e7c
push str.CodeDSv_01.sv
jmp 0x434e81
push str.CodeDSv_02.sv
call fcn.0045af79
mov esi, eax
add esp, 8
test esi, esi
jne 0x434e9f
mov byte [ebx + 0x1764], al
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
push 1
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push 4
push eax
mov byte [ebx + 0x1808], 0
call fcn.0045b20f
add esp, 0x10
cmp dword [ebp - 0x10], 0x15e
jne 0x434ece
mov byte [ebx + 0x1808], 1
push esi
push 1
lea eax, [ebx + 0x1754]
push 4
push eax
call fcn.0045b20f
push esi
push 1
push 4
push 0x4b6104
call fcn.0045b20f
add esp, 0x20
cmp dword [0x4b6104], 0
jne 0x434f11
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [0x4b6104], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add dword [0x4b6104], eax
push edi
push esi
push 1
lea eax, [ebx + 0x10]
mov dword [ebp - 0x14], 0
push 4
push eax
call fcn.0045b20f
push esi
push 1
lea eax, [ebp - 0x14]
push 4
push eax
call fcn.0045b20f
mov ecx, dword [0x4b4bc0]
mov eax, dword [ebp - 0x14]
push esi
push 1
mov dword [ecx + 0x24c], eax
lea eax, [ebx + 0x1760]
push 4
push eax
call fcn.0045b20f
push esi
push 1
push 0x14
push 0x4b8b6c
call fcn.0045b20f
add esp, 0x40
push esi
push 1
push 0x14
push 0x4b8b80
call fcn.0045b20f
push dword [0x4b8434]
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xc], 0
call fcn.00471058
push esi
push 1
lea eax, [ebp - 4]
push 4
push eax
call fcn.0045b20f
mov ecx, dword [ebp - 4]
mov eax, 0x10624dd3
mul ecx
push esi
shr edx, 6
imul eax, edx, 0x3e8
push 1
push 4
sub ecx, eax
mov eax, dword [0x4b4bc0]
imul ecx, ecx, 0x64
mov dword [eax + 0x220], ecx
mov eax, 0x10624dd3
mul dword [ebp - 4]
mov eax, 0xcccccccd
mov ecx, edx
shr ecx, 6
mul ecx
mov dword [ebp - 4], ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
mov eax, dword [0x4b4bc0]
mov dword [eax + 0x2a4], ecx
mov eax, 0xcccccccd
mul dword [ebp - 4]
mov eax, edx
shr eax, 3
mov dword [ebp - 0x30], eax
lea eax, [ebp - 4]
push eax
call fcn.0045b20f
mov ecx, dword [ebp - 4]
mov eax, 0x51eb851f
mul ecx
add esp, 0x34
shr edx, 5
imul eax, edx, 0x64
sub ecx, eax
mov eax, dword [0x4b4bc0]
mov dword [eax + 0x228], ecx
mov ecx, dword [0x4b4bc0]
mov eax, dword [ecx + 0x228]
mov dword [ecx + 0x21c], eax
mov eax, 0x51eb851f
mul dword [ebp - 4]
mov edi, edx
shr edi, 5
mov dword [ebp - 4], edi
test edi, edi
je 0x4350a3
mov eax, 0x51eb851f
mul edi
mov ecx, edx
mov edx, edi
shr ecx, 5
imul eax, ecx, 0x64
mov dword [ebp - 4], ecx
sub edx, eax
mov eax, 0x51eb851f
mov dword [ebp - 0x28], edx
mul ecx
mov eax, edx
shr eax, 5
mov dword [ebp - 0x24], eax
imul eax, eax, 0x64
sub ecx, eax
mov dword [ebp - 0x1c], ecx
push esi
push 1
lea eax, [ebp - 4]
push 4
push eax
call fcn.0045b20f
mov ecx, dword [ebp - 4]
mov eax, 0x51eb851f
mul ecx
add esp, 0x10
shr edx, 5
imul eax, edx, 0x64
sub ecx, eax
mov eax, dword [0x4b4bc0]
mov dword [eax + 0x224], ecx
mov eax, 0x51eb851f
mul dword [ebp - 4]
mov edi, edx
shr edi, 5
mov dword [ebp - 4], edi
test edi, edi
je 0x435121
mov eax, 0xcccccccd
mul edi
shr edx, 3
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], edx
lea ecx, [edx + edx*4]
add ecx, ecx
sub edi, ecx
imul eax, edi, 0x64
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
mov eax, 0xcccccccd
mul edx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub edi, eax
imul eax, edx, 0x3e8
mov dword [ebp - 0x2c], eax
jmp 0x435123
xor edi, edi
mov edx, dword [0x4b8434]
mov ecx, dword [0x4b4bc0]
mov eax, dword [edx + 8]
cmp eax, dword [ecx + 0x228]
jne 0x435148
mov eax, dword [edx + 4]
sub eax, dword [ecx + 0x224]
cmp eax, 0xf
jbe 0x435170
mov dword [ecx + 0x234], 0
mov eax, dword [0x4b4bc0]
mov dword [eax + 0x220], 0
mov eax, dword [0x4b4bc0]
mov dword [eax + 0x21c], 0xffffffff
push esi
push 1
lea eax, [ebp - 8]
push 4
push eax
call fcn.0045b20f
mov ecx, dword [ebp - 8]
mov eax, 0x6b5fca6b
imul ecx
push esi
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x989680
push 1
push 4
push 0x4b8630
sub ecx, eax
imul eax, ecx, 0x64
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov dword [0x4b8634], eax
call fcn.0045b20f
push esi
push 1
push 4
push 0x4b8638
call fcn.0045b20f
push esi
push 1
lea eax, [ebp - 8]
push 4
push eax
call fcn.0045b20f
mov ecx, dword [ebp - 8]
add esp, 0x40
cmp ecx, 0x3e8
jl 0x435211
mov eax, 0x10624dd3
imul ecx
mov eax, 0x51eb851f
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx
mov dword [ebp - 0xc], ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 8]
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3e8
sub ecx, eax
test ecx, ecx
jle 0x4352d3
push ecx
mov ecx, dword [0x4b4bc4]
call fcn.004446a0
mov eax, 0x14f8b589
imul dword [ebp - 8]
mov eax, 0x51eb851f
sar edx, 0xd
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx
mov eax, dword [0x4b4bc0]
mov dword [ebp - 8], ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [eax + 0x254], ecx
mov eax, dword [0x4b4bc0]
mov dword [ebp - 0x18], eax
cmp dword [eax + 0x254], 0xa
jl 0x435292
mov dword [eax + 0x254], 9
mov eax, dword [0x4b4bc0]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x64
sub ecx, eax
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x258], ecx
mov ecx, dword [0x4b4bc0]
mov eax, dword [ecx + 0x258]
cmp eax, 2
jg 0x4352c9
test eax, eax
jg 0x4352d3
mov dword [ecx + 0x258], 1
push esi
push 1
lea eax, [ebp - 8]
push 4
push eax
call fcn.0045b20f
mov ecx, dword [ebp - 8]
add esp, 0x10
test ecx, ecx
jle 0x435376
mov eax, 0x68db8bad
mov dword [ebp - 0x18], 0xa
imul ecx
mov eax, 0x68db8bad
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebp - 8]
imul ecx, ecx, 0x2710
sub edx, ecx
mov ecx, dword [0x4b4bc0]
imul edx, edx, 0x64
mov dword [ecx + 0x250], edx
mov ecx, dword [ebp - 8]
imul ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
idiv dword [ebp - 0x18]
cmp edx, 1
jne 0x435355
mov edx, dword [0x4b4bc0]
mov ecx, dword [edx + 0x250]
neg ecx
mov dword [edx + 0x250], ecx
mov ecx, dword [ebp - 8]
mov eax, 0x14f8b589
imul ecx
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x435376
mov ecx, dword [0x4b4bc0]
push eax
call fcn.0042c620
push esi
push 1
lea eax, [ebp + 0xb]
mov byte [ebp + 0xb], 0
push 1
push eax
call fcn.0045b20f
push esi
call fcn.0045ac26
mov eax, dword [ebp - 0x30]
add esp, 0x14
test eax, eax
jle 0x4353b7
push dword [ebp - 0xc]
mov ecx, dword [0x4b4bc0]
push edi
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push eax
call fcn.0042d030
mov ecx, dword [ebp - 0x10]
mov al, byte [ebp + 0xb]
mov byte [ebx + 0x1764], 0
pop edi
cmp ecx, 0x15e
je 0x4353d5
cmp ecx, 0x15f
jne 0x4353d9
cmp al, 0x59
je 0x4353f2
cmp al, 0x63
jne 0x434e95
mov eax, dword [0x4b4bc0]
mov ecx, 1
mov word [eax + 0x1ea], cx
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4