Function at 0x430120
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x4ab000]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
cmp byte [0x4aca60], bl
jne 0x43029f
mov eax, dword [0x4be6bc]
mov ecx, 1
cmp dword [eax + 0xa4], ecx
jne 0x430173
mov dword [eax + 0xa4], ebx
mov eax, dword [0x4be4f8]
mov byte [eax + 0xf4], cl
mov ecx, dword [0x4afd84]
mov byte [ecx + 0xf4], bl
jmp 0x430186
mov eax, dword [0x4be3d0]
cmp dword [eax + 0xa4], ecx
jne 0x430186
mov dword [eax + 0xa4], ebx
mov eax, dword [0x4aff20]
cmp byte [eax + 0xf4], bl
je 0x430ab5
mov edx, dword [0x4afd80]
cmp dword [edx + 0xa4], ebx
je 0x430ab5
cmp byte [0x4af656], bl
jne 0x430ab5
mov byte [eax + 0xf4], bl
mov eax, dword [0x4aff20]
mov dword [eax + 0xa4], ebx
mov eax, dword [0x4a9f3c]
inc eax
cdq
mov ecx, 0xa
idiv ecx
mov dword [0x4a9f3c], edx
cmp edx, 9
ja case.default.0x4301df
jmp dword [edx*4 + 0x430ac4]
mov dword [0x4a9f38], 0x64
jmp case.default.0x4301df
mov dword [0x4a9f38], 0xc8
jmp case.default.0x4301df
mov dword [0x4a9f38], 0x12c
jmp case.default.0x4301df
mov dword [0x4a9f38], 0x190
jmp case.default.0x4301df
mov dword [0x4a9f38], 0x1f4
jmp case.default.0x4301df
mov dword [0x4a9f38], 0x258
jmp case.default.0x4301df
mov dword [0x4a9f38], 0x2bc
jmp case.default.0x4301df
mov dword [0x4a9f38], 0x320
jmp case.default.0x4301df
mov dword [0x4a9f38], 0x384
jmp case.default.0x4301df
mov dword [0x4a9f38], 0x3e8
call fcn.00409960
mov dword [0x4af584], ebx
call fcn.00411ae0
push ebx
call fcn.0042c790
mov edx, dword [0x4a9f38]
add esp, 4
mov dword [0x4ac704], edx
call fcn.004241b0
mov eax, dword [0x4a9fcc]
mov dword [0x4af6e4], eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045d691
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4be6b8]
push edi
mov edi, 1
cmp dword [eax + 0xa4], edi
jne 0x4302c2
mov dword [eax + 0xa4], ebx
call fcn.0040e1d0
call fcn.0042ca60
mov eax, dword [0x4be4a8]
cmp dword [eax + 0xa4], edi
jne 0x4302df
mov dword [eax + 0xa4], ebx
call fcn.0040e1d0
call fcn.0042ca60
mov eax, dword [0x4beabc]
cmp dword [eax + 0xa4], edi
jne 0x4302fc
mov dword [eax + 0xa4], ebx
call fcn.0040e1d0
call fcn.0042ca60
mov ecx, dword [0x4be3c4]
fld dword [ecx + 0x88]
fcomp qword [0x492ae8]
fnstsw ax
test ah, 5
jp 0x43034f
fld1
fstp dword [ecx + 0x88]
mov ecx, dword [0x4aca3c]
add dword [0x4aca48], ecx
call fcn.0040df00
mov edx, dword [0x4aca3c]
add dword [0x4aca4c], edx
push ebx
mov dword [0x4aca3c], ebx
call fcn.0040d870
push ebx
call fcn.0042c790
add esp, 8
mov eax, dword [0x4be4f4]
cmp dword [eax + 0xa4], edi
jne 0x4303a2
mov dword [eax + 0xa4], ebx
mov dword [0x4aca28], ebx
mov dword [0x4aca30], ebx
mov dword [0x4aca40], ebx
mov dword [0x4aca50], ebx
mov dword [0x4aca48], ebx
call fcn.0040e0e0
call fcn.004127d0
call fcn.0040dff0
call fcn.0040df00
call fcn.0040de10
push ebx
call fcn.0042c790
add esp, 4
mov eax, dword [0x4afd78]
cmp dword [eax + 0xa4], edi
jne 0x4303dc
mov dword [eax + 0xa4], ebx
mov ax, word [0x4aa03c]
mov ecx, 0xffff
add ax, cx
mov word [0x4aa03c], ax
cmp ax, di
jae 0x4303d7
mov edx, edi
mov word [0x4aa03c], dx
call fcn.004116c0
mov eax, dword [0x4b0050]
cmp dword [eax + 0xa4], edi
jne 0x43040f
mov dword [eax + 0xa4], ebx
mov eax, dword [0x4aa17c]
sub eax, edi
mov dword [0x4aa17c], eax
cmp eax, edi
jge 0x430406
mov eax, edi
mov dword [0x4aa17c], eax
push eax
call fcn.00410980
add esp, 4
mov eax, dword [0x4bea1c]
cmp dword [eax + 0xa4], edi
jne 0x430449
mov dword [eax + 0xa4], ebx
mov ax, word [0x4aa03c]
add ax, di
mov ecx, 0xa
mov word [0x4aa03c], ax
cmp cx, ax
jae 0x430444
mov edx, ecx
mov word [0x4aa03c], dx
call fcn.004116c0
mov eax, dword [0x4be9fc]
cmp dword [eax + 0xa4], edi
jne 0x430480
mov dword [eax + 0xa4], ebx
mov eax, dword [0x4aa17c]
add eax, edi
mov dword [0x4aa17c], eax
cmp eax, 0x46
jle 0x430477
mov eax, 0x46
mov dword [0x4aa17c], eax
push eax
call fcn.00410980
add esp, 4
mov eax, dword [0x4aff24]
push esi
cmp dword [eax + 0xa4], edi
jne 0x4305bc
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
call esi
sub eax, dword [0x4af754]
mov dword [ebp - 0x208], eax
fild dword [ebp - 0x208]
jns 0x4304b4
fadd dword [0x47bff8]
fmul qword [0x495408]
fcomp qword [0x47c008]
fnstsw ax
test ah, 5
jp 0x4304cf
add dword [0x4aa1e8], edi
jmp 0x4304d5
mov dword [0x4aa1e8], edi
mov ecx, dword [0x4aa1e8]
push ecx
lea edx, [ebp - 0x204]
push 0x495410
push edx
call fcn.00409dc0
add esp, 0xc
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [0x4aff24]
mov dword [ecx + 0xa4], ebx
mov ecx, dword [0x4aa17c]
cmp ecx, 0x32
jg 0x430535
xor eax, eax
cmp dword [eax*4 + 0x4ac7f0], ecx
je 0x43052d
add eax, edi
cmp eax, 0x32
jl 0x430516
mov eax, dword [0x4aa040]
jmp 0x43053c
mov dword [0x4ac7c4], eax
inc eax
jmp 0x430537
mov eax, ecx
mov dword [0x4aa040], eax
mov edx, dword [0x4aa03c]
add edx, 0xfffffff9
cmp dx, 3
mov dx, word [0x4aa03c]
ja 0x430579
mov ecx, eax
cmp eax, 0x32
jg 0x430560
mov ecx, dword [eax*4 + 0x4ac7ec]
fldz
movzx edi, dx
imul edi, edi, 0x578
add edi, ecx
fstp dword [edi*4 + 0x4af3ac]
mov edi, 1
cmp eax, 0x32
jg 0x430585
mov eax, dword [eax*4 + 0x4ac7ec]
movzx ecx, dx
imul ecx, ecx, 0x578
add ecx, eax
fld dword [ecx*4 + 0x4af3ac]
fmul qword [0x492768]
call fcn.0045d810
push ebx
mov dword [0x4aca5c], eax
call fcn.0042c790
add esp, 4
call fcn.004241b0
call esi
mov dword [0x4af754], eax
mov eax, dword [0x4be3ec]
cmp dword [eax + 0xa4], edi
jne 0x4307dd
cmp byte [0x4af65d], bl
je 0x430ab3
mov dword [eax + 0xa4], ebx
cmp byte [0x4af65c], bl
jne 0x4306ab
cmp dword [0x4af658], 6
jne 0x4307dd
mov cl, 1
xor eax, eax
lea esp, [esp]
mov dl, byte [eax + str.111111]
cmp dl, byte [eax + 0x4ac5d0]
jne 0x430617
add eax, edi
cmp eax, 6
jl 0x430600
jmp 0x430619
xor cl, cl
mov eax, dword [0x4be504]
mov dword [0x4af658], ebx
mov byte [eax + 0xf4], bl
mov edx, dword [0x4be508]
mov byte [edx + 0xf4], bl
mov eax, dword [0x4be50c]
mov byte [eax + 0xf4], bl
mov edx, dword [0x4be510]
mov byte [edx + 0xf4], bl
mov eax, dword [0x4be514]
mov byte [eax + 0xf4], bl
mov edx, dword [0x4be518]
mov byte [edx + 0xf4], bl
cmp cl, bl
je 0x4307dd
mov eax, dword [0x4be3ec]
mov byte [eax + 0xf4], bl
mov ecx, dword [0x4be4ac]
mov byte [ecx + 0xf4], bl
mov edx, dword [0x4be478]
mov byte [edx + 0xf4], bl
mov eax, dword [0x4afda0]
mov byte [eax + 0xf4], bl
mov byte [0x4af657], 1
call fcn.0042ca60
jmp 0x4307dd
cmp byte [0x4af657], bl
je 0x4307dd
cmp dword [0x4af658], 6
jne 0x4307dd
mov ecx, dword [0x4be9b8]
mov byte [0x4af657], bl
mov byte [0x4af65c], bl
mov dword [0x4af658], ebx
mov byte [ecx + 0xf4], bl
mov edx, dword [0x4aff28]
mov byte [edx + 0xf4], bl
mov eax, dword [0x4af8ac]
mov byte [eax + 0xf4], bl
mov ecx, dword [0x4be504]
mov byte [ecx + 0xf4], bl
mov edx, dword [0x4be3d4]
mov byte [edx + 0xf4], bl
mov eax, dword [0x4be508]
mov byte [eax + 0xf4], bl
mov ecx, dword [0x4be3d8]
mov byte [ecx + 0xf4], bl
mov edx, dword [0x4be50c]
mov byte [edx + 0xf4], bl
mov eax, dword [0x4be3dc]
mov byte [eax + 0xf4], bl
mov ecx, dword [0x4be510]
mov byte [ecx + 0xf4], bl
mov edx, dword [0x4be3e0]
mov byte [edx + 0xf4], bl
mov eax, dword [0x4be514]
mov byte [eax + 0xf4], bl
mov ecx, dword [0x4be3e4]
mov byte [ecx + 0xf4], bl
mov edx, dword [0x4be518]
mov byte [edx + 0xf4], bl
mov eax, dword [0x4be3e8]
mov byte [eax + 0xf4], bl
mov ecx, dword [0x4be4fc]
mov byte [ecx + 0xf4], 1
mov edx, dword [0x4ac5d0]
mov ax, word [0x4ac5d4]
push ebx
mov dword [str.111111], edx
mov word [0x4aa048], ax
call fcn.0042c790
mov ecx, dword [0x4acc30]
add esp, 4
push 0x4b0
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [0x4acc30]
push ebx
push 0x3e8
push 0x4b0
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [0x4be478]
cmp dword [eax + 0xa4], edi
jne 0x4307f0
mov dword [eax + 0xa4], ebx
mov eax, dword [0x4be77c]
mov esi, 0x384
cmp dword [eax + 0xa4], edi
jne 0x4308d6
mov dword [eax + 0xa4], ebx
mov eax, dword [0x4af4f0]
inc eax
cdq
mov ecx, 0xa
idiv ecx
mov dword [0x4af4f0], edx
cmp edx, 9
ja case.default.0x430825
jmp dword [edx*4 + 0x430aec]
mov dword [0x4a9f34], 0x64
jmp case.default.0x430825
mov dword [0x4a9f34], 0xc8
jmp case.default.0x430825
mov dword [0x4a9f34], 0x12c
jmp case.default.0x430825
mov dword [0x4a9f34], 0x190
jmp case.default.0x430825
mov dword [0x4a9f34], 0x1f4
jmp case.default.0x430825
mov dword [0x4a9f34], 0x258
jmp case.default.0x430825
mov dword [0x4a9f34], 0x2bc
jmp case.default.0x430825
mov dword [0x4a9f34], 0x320
jmp case.default.0x430825
mov dword [0x4a9f34], esi
jmp case.default.0x430825
mov dword [0x4a9f34], 0x3e8
mov edx, dword [0x4afd80]
cmp dword [edx + 0xa4], edi
jne 0x4308b3
call fcn.00409960
jmp 0x4308bd
call fcn.00409bb0
call fcn.004241b0
mov dword [0x4af584], ebx
call fcn.00411ae0
call fcn.00411820
push ebx
call fcn.0042c790
add esp, 4
mov eax, dword [0x4be6a0]
cmp dword [eax + 0xa4], edi
jne 0x4309bb
mov dword [eax + 0xa4], ebx
mov eax, dword [0x4a9f3c]
inc eax
cdq
mov ecx, 0xa
idiv ecx
mov dword [0x4a9f3c], edx
cmp edx, 9
ja case.default.0x430906
jmp dword [edx*4 + 0x430b14]
mov dword [0x4a9f38], 0x64
jmp case.default.0x430906
mov dword [0x4a9f38], 0xc8
jmp case.default.0x430906
mov dword [0x4a9f38], 0x12c
jmp case.default.0x430906
mov dword [0x4a9f38], 0x190
jmp case.default.0x430906
mov dword [0x4a9f38], 0x1f4
jmp case.default.0x430906
mov dword [0x4a9f38], 0x258
jmp case.default.0x430906
mov dword [0x4a9f38], 0x2bc
jmp case.default.0x430906
mov dword [0x4a9f38], 0x320
jmp case.default.0x430906
mov dword [0x4a9f38], esi
jmp case.default.0x430906
mov dword [0x4a9f38], 0x3e8
mov edx, dword [0x4afd80]
cmp dword [edx + 0xa4], edi
jne 0x430994
call fcn.00409960
jmp 0x430999
call fcn.00409bb0
mov eax, dword [0x4a9f38]
mov dword [0x4ac704], eax
call fcn.004241b0
call fcn.00411980
push ebx
call fcn.0042c790
add esp, 4
call fcn.00411ae0
mov eax, dword [0x4a9fe0]
cmp eax, 0xffffffff
jle 0x430a31
mov eax, dword [eax*4 + 0x4be970]
cmp dword [eax + 0xa4], edi
jne 0x430a31
mov dword [eax + 0xa4], ebx
mov eax, dword [0x4a9fdc]
mov ecx, dword [0x4a9fe0]
lea edx, [eax + eax*4]
lea eax, [ecx + edx*2]
dec dword [eax*8 + 0x4ac304]
jns 0x4309fb
mov dword [eax*8 + 0x4ac304], ebx
mov eax, dword [eax*8 + 0x4ac304]
lea eax, [eax + eax*4]
add eax, eax
push eax
push ecx
call fcn.004107f0
mov eax, dword [0x4a9fdc]
mov edx, dword [0x4a9fe0]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*2 - 0xa]
mov ecx, dword [eax*8 + 0x4ac354]
push ecx
push eax
call fcn.004095f0
add esp, 0x10
mov eax, dword [0x4a9fe4]
cmp eax, 0xffffffff
jle 0x430ab3
mov eax, dword [eax*4 + 0x4be56c]
cmp dword [eax + 0xa4], edi
jne 0x430ab3
mov dword [eax + 0xa4], ebx
mov eax, dword [0x4a9fdc]
mov ecx, dword [0x4a9fe4]
lea edx, [eax + eax*4]
lea eax, [ecx + edx*2]
add dword [eax*8 + 0x4ac304], edi
mov edx, 0xa
cmp dword [eax*8 + 0x4ac304], edx
jle 0x430a7d
mov dword [eax*8 + 0x4ac304], edx
mov eax, dword [eax*8 + 0x4ac304]
lea eax, [eax + eax*4]
add eax, eax
push eax
push ecx
call fcn.004107f0
mov eax, dword [0x4a9fdc]
mov edx, dword [0x4a9fe4]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*2 - 0xa]
mov ecx, dword [eax*8 + 0x4ac354]
push ecx
push eax
call fcn.004095f0
add esp, 0x10
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0045d691
mov esp, ebp
pop ebp
ret