Function at 0x402a59
Capabilities:
Check for time delay via gettickcount
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov ecx, 0x428468
call fcn.0040ba40
test eax, eax
je 0x402a76
cmp dword [ebp + 8], 0
jne 0x402a7e
or eax, 0xffffffff
jmp 0x40393e
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov byte [ebp - 0xc], 0
push 0xf
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040ce10
add esp, 0xc
cmp dword [0x428490], 0
jle 0x40393c
cmp dword [0x428490], 2
jne 0x402abc
jmp 0x40393c
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 4]
cmp edx, 0xa
jle 0x402ad5
jmp 0x40393c
mov ecx, 0x428468
call fcn.0040ba40
test eax, eax
je 0x402ae9
cmp dword [ebp + 8], 0
jne 0x402af1
or eax, 0xffffffff
jmp 0x40393e
push 0xf
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x428468
call fcn.0040b970
mov dword [ebp - 0x10], 0
xor ecx, ecx
mov cl, byte [0x4284f0]
test ecx, ecx
jl 0x402be7
xor edx, edx
mov dl, byte [0x4284f0]
cmp edx, 0x80
jge 0x402be7
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 1]
add ecx, eax
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 2]
add ecx, eax
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 3]
add ecx, eax
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 4]
add ecx, eax
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 5]
add ecx, eax
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 6]
add ecx, eax
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 7]
add ecx, eax
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 8]
add ecx, eax
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 9]
add ecx, eax
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 0xa]
add ecx, eax
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 0xb]
add ecx, eax
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 0xc]
add ecx, eax
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 0xd]
add ecx, eax
mov byte [ebp - 0xc], cl
mov ecx, dword [ebp + 8]
xor edx, edx
mov dl, byte [ecx]
cmp edx, 0xff
jne 0x402be2
mov eax, dword [ebp - 0xc]
and eax, 0xff
mov ecx, dword [ebp + 8]
xor edx, edx
mov dl, byte [ecx + 0xe]
cmp eax, edx
jne 0x402be2
mov dword [ebp - 0x10], 1
jmp 0x402c84
xor eax, eax
mov al, byte [0x4284f0]
cmp eax, 0x80
jl 0x402c84
xor ecx, ecx
mov cl, byte [0x4284f0]
cmp ecx, 0xff
jge 0x402c84
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dl, byte [ecx + 1]
add eax, edx
mov ecx, dword [ebp + 8]
xor edx, edx
mov dl, byte [ecx + 2]
add eax, edx
mov ecx, dword [ebp + 8]
xor edx, edx
mov dl, byte [ecx + 3]
add eax, edx
mov ecx, dword [ebp + 8]
xor edx, edx
mov dl, byte [ecx + 4]
add eax, edx
mov ecx, dword [ebp + 8]
xor edx, edx
mov dl, byte [ecx + 5]
add eax, edx
mov ecx, dword [ebp + 8]
xor edx, edx
mov dl, byte [ecx + 6]
add eax, edx
mov ecx, dword [ebp + 8]
xor edx, edx
mov dl, byte [ecx + 7]
add eax, edx
mov byte [ebp - 0xc], al
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0xff
jne 0x402c84
mov edx, dword [ebp - 0xc]
and edx, 0xff
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax + 8]
cmp edx, ecx
jne 0x402c84
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0x10], 1
jne case.0x402cb7.5
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 1]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
sub ecx, 0x7a
mov dword [ebp - 0x58], ecx
cmp dword [ebp - 0x58], 0x45
ja case.0x402cb7.5
mov eax, dword [ebp - 0x58]
xor edx, edx
mov dl, byte [eax + 0x40395a]
jmp dword [edx*4 + 0x403942]
cmp dword [0x4284d8], 0
je case.0x402cb7.1
cmp dword [0x4284ec], 0
jne case.0x402cb7.1
push 1
push 0xd
call fcn.004027bc
add esp, 8
mov dword [0x4284ec], 2
push 0
push 0x69
push 0x466
mov ecx, dword [0x4284d8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
xor edx, edx
mov dl, byte [0x426338]
cmp edx, 1
jl 0x402d1f
mov al, byte [0x426338]
sub al, 1
mov byte [0x426338], al
mov eax, 0x2710
jmp 0x40393e
xor ecx, ecx
mov cl, byte [0x4284f0]
test ecx, ecx
jl 0x4032a3
xor edx, edx
mov dl, byte [0x4284f0]
cmp edx, 0x80
jge 0x4032a3
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax + 2]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 3]
shl eax, 7
mov ecx, dword [ebp + 8]
xor edx, edx
mov dl, byte [ecx + 4]
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax + 5]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 6]
shl eax, 7
mov ecx, dword [ebp + 8]
xor edx, edx
mov dl, byte [ecx + 7]
add eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax + 8]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 9]
shl eax, 7
mov ecx, dword [ebp + 8]
xor edx, edx
mov dl, byte [ecx + 0xa]
add eax, edx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax + 0xb]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 0xc]
shl eax, 7
mov ecx, dword [ebp + 8]
xor edx, edx
mov dl, byte [ecx + 0xd]
add eax, edx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x18], 1
jge 0x402ddc
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x20], 1
jge 0x402de9
mov dword [ebp - 0x20], 1
cmp dword [ebp - 0x28], 1
jge 0x402df6
mov dword [ebp - 0x28], 1
cmp dword [ebp - 0x30], 1
jge 0x402e03
mov dword [ebp - 0x30], 1
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
imul ecx, dword [ebp - 0x14]
add eax, ecx
mov dword [ebp - 0x5c], eax
fild dword [ebp - 0x5c]
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x20]
mov dword [ebp - 0x60], edx
fild dword [ebp - 0x60]
fdivp st(1)
mov eax, dword [ebp + 0xc]
fstp qword [eax]
mov ecx, dword [ebp - 0x28]
imul ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
imul edx, dword [ebp - 0x24]
add ecx, edx
mov dword [ebp - 0x64], ecx
fild dword [ebp - 0x64]
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x68], eax
fild dword [ebp - 0x68]
fdivp st(1)
mov ecx, dword [ebp + 0x10]
fstp qword [ecx]
xor edx, edx
mov dl, byte [0x4284f0]
cmp edx, 1
jne 0x402edd
mov eax, dword [ebp + 0xc]
fld qword [eax]
call fcn.0040ce68
mov ecx, dword [0x4284d0]
sub ecx, 2
cmp eax, ecx
jge 0x402edd
cmp dword [0x4284f4], 0
jne 0x402ed3
cmp dword [0x4284d8], 0
je 0x402ed3
mov dword [ebp - 0x38], 0x14
fild dword [ebp - 0x38]
mov edx, dword [ebp + 0x10]
fdivr qword [edx]
call fcn.0040ce68
mov ecx, 0xc
sub ecx, eax
mov dword [0x4284f4], ecx
mov edx, dword [0x4284f4]
add edx, 0x95
mov dword [ebp - 0x34], edx
push 0
mov eax, dword [ebp - 0x34]
push eax
push 0x466
mov ecx, dword [0x4284d8]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, 0x2710
jmp 0x40393e
xor edx, edx
mov dl, byte [0x4284f0]
cmp edx, 5
jne 0x402f93
mov eax, dword [ebp + 0xc]
fld qword [eax]
call fcn.0040ce68
mov ecx, eax
mov eax, dword [0x4284d0]
cdq
sub eax, edx
sar eax, 1
sub eax, 1
cmp ecx, eax
jl 0x402f30
mov edx, dword [ebp + 0xc]
fld qword [edx]
call fcn.0040ce68
mov ecx, eax
mov eax, dword [0x4284d0]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [0x4284d4]
sub edx, eax
sub edx, 1
cmp ecx, edx
jle 0x402f93
cmp dword [0x4284f4], 0
jne 0x402f89
cmp dword [0x4284d8], 0
je 0x402f89
mov dword [ebp - 0x3c], 0x10
mov eax, dword [ebp + 0x10]
fld qword [eax]
fsub qword [0x420908]
fidiv dword [ebp - 0x3c]
call fcn.0040ce68
mov ecx, 0xc
sub ecx, eax
mov dword [0x4284f4], ecx
push 0
mov edx, dword [0x4284f4]
add edx, 0x95
push edx
push 0x466
mov eax, dword [0x4284d8]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, 0x2710
jmp 0x40393e
xor ecx, ecx
mov cl, byte [0x4284f0]
cmp ecx, 3
jne 0x403049
mov edx, dword [ebp + 0xc]
fld qword [edx]
call fcn.0040ce68
mov ecx, eax
mov eax, dword [0x4284d0]
cdq
sub eax, edx
sar eax, 1
sub eax, 1
cmp ecx, eax
jl 0x402fe6
mov edx, dword [ebp + 0xc]
fld qword [edx]
call fcn.0040ce68
mov ecx, eax
mov eax, dword [0x4284d0]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [0x4284d4]
sub edx, eax
sub edx, 1
cmp ecx, edx
jle 0x403049
cmp dword [0x4284f4], 0
jne 0x40303f
cmp dword [0x4284d8], 0
je 0x40303f
mov dword [ebp - 0x40], 0x10
mov eax, dword [ebp + 0x10]
fld qword [eax]
fsub qword [0x420908]
fidiv dword [ebp - 0x40]
call fcn.0040ce68
mov ecx, 0xc
sub ecx, eax
mov dword [0x4284f4], ecx
push 0
mov edx, dword [0x4284f4]
add edx, 0x95
push edx
push 0x466
mov eax, dword [0x4284d8]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, 0x2710
jmp 0x40393e
xor ecx, ecx
mov cl, byte [0x4284f0]
cmp ecx, 4
jne 0x403119
mov edx, dword [ebp + 0xc]
fld qword [edx]
call fcn.0040ce68
mov ecx, dword [0x4284d0]
sub ecx, 2
cmp eax, ecx
jge 0x403119
cmp dword [0x4284f4], 0
jne 0x40310f
cmp dword [0x4284d8], 0
je 0x40310f
mov edx, dword [ebp + 0x10]
fld qword [edx]
call fcn.0040ce68
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fcomp dword [0x420904]
fnstsw ax
test ah, 1
jne 0x40310f
mov eax, dword [ebp + 0x10]
fld qword [eax]
call fcn.0040ce68
mov dword [ebp - 0x70], eax
fild dword [ebp - 0x70]
fcomp dword [0x420900]
fnstsw ax
test ah, 0x41
je 0x40310f
mov dword [ebp - 0x44], 0x10
mov ecx, dword [ebp + 0x10]
fld qword [ecx]
fsub qword [0x4208f8]
fidiv dword [ebp - 0x44]
call fcn.0040ce68
mov edx, 0xc
sub edx, eax
mov dword [0x4284f4], edx
push 0
mov eax, dword [0x4284f4]
add eax, 0x95
push eax
push 0x466
mov ecx, dword [0x4284d8]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, 0x2710
jmp 0x40393e
xor edx, edx
mov dl, byte [0x4284f0]
cmp edx, 7
jne 0x4031e9
mov eax, dword [ebp + 0xc]
fld qword [eax]
call fcn.0040ce68
mov ecx, dword [0x4284d0]
sub ecx, 2
cmp eax, ecx
jge 0x4031e9
cmp dword [0x4284f4], 0
jne 0x4031df
cmp dword [0x4284d8], 0
je 0x4031df
mov edx, dword [ebp + 0x10]
fld qword [edx]
call fcn.0040ce68
mov dword [ebp - 0x74], eax
fild dword [ebp - 0x74]
fcomp dword [0x420904]
fnstsw ax
test ah, 1
jne 0x4031df
mov eax, dword [ebp + 0x10]
fld qword [eax]
call fcn.0040ce68
mov dword [ebp - 0x78], eax
fild dword [ebp - 0x78]
fcomp dword [0x420900]
fnstsw ax
test ah, 0x41
je 0x4031df
mov dword [ebp - 0x48], 0x10
mov ecx, dword [ebp + 0x10]
fld qword [ecx]
fsub qword [0x4208f8]
fidiv dword [ebp - 0x48]
call fcn.0040ce68
mov edx, 0xc
sub edx, eax
mov dword [0x4284f4], edx
push 0
mov eax, dword [0x4284f4]
add eax, 0x95
push eax
push 0x466
mov ecx, dword [0x4284d8]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, 0x2710
jmp 0x40393e
mov dword [0x4284f8], 0
cmp dword [0x4284ec], 0
jne 0x403206
mov dword [0x4284ec], 1
cmp dword [0x42632c], 2
jne 0x40324d
mov dword [0x42632c], 1
mov edx, dword [ebp + 0xc]
fld qword [edx]
call fcn.0040ce68
mov dword [0x426330], eax
mov eax, dword [ebp + 0x10]
fld qword [eax]
call fcn.0040ce68
mov dword [0x426334], eax
push 1
push 1
call fcn.004027bc
add esp, 8
mov eax, 2
jmp 0x40393e
mov ecx, dword [ebp + 0xc]
fld qword [ecx]
call fcn.0040ce68
cmp dword [0x426330], eax
jne 0x40327b
mov edx, dword [ebp + 0x10]
fld qword [edx]
call fcn.0040ce68
cmp dword [0x426334], eax
jne 0x40327b
mov eax, 0x1f4
jmp 0x40393e
mov eax, dword [ebp + 0xc]
fld qword [eax]
call fcn.0040ce68
mov dword [0x426330], eax
mov ecx, dword [ebp + 0x10]
fld qword [ecx]
call fcn.0040ce68
mov dword [0x426334], eax
mov eax, 1
jmp 0x40393e
xor edx, edx
mov dl, byte [0x4284f0]
cmp edx, 0x80
jl case.0x402cb7.2
xor eax, eax
mov al, byte [0x4284f0]
cmp eax, 0xff
jge case.0x402cb7.2
mov ecx, dword [ebp + 8]
xor edx, edx
mov dl, byte [ecx + 2]
shl edx, 7
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax + 3]
add edx, ecx
mov dword [ebp - 0x7c], edx
fild dword [ebp - 0x7c]
mov edx, dword [ebp + 0xc]
fstp qword [edx]
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax + 4]
shl ecx, 7
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 5]
add ecx, eax
mov dword [ebp - 0x80], ecx
fild dword [ebp - 0x80]
mov ecx, dword [ebp + 0x10]
fstp qword [ecx]
xor edx, edx
mov dl, byte [0x4284f0]
cmp edx, 0x84
jne 0x403394
mov eax, dword [ebp + 0xc]
fld qword [eax]
call fcn.0040ce68
mov ecx, dword [0x4284d0]
sub ecx, 2
cmp eax, ecx
jge 0x403394
cmp dword [0x4284f4], 0
jne 0x40338a
cmp dword [0x4284d8], 0
je 0x40338a
mov dword [ebp - 0x50], 0x14
fild dword [ebp - 0x50]
mov edx, dword [ebp + 0x10]
fdivr qword [edx]
call fcn.0040ce68
mov ecx, 0xc
sub ecx, eax
mov dword [0x4284f4], ecx
mov edx, dword [0x4284f4]
add edx, 0x95
mov dword [ebp - 0x4c], edx
push 0
mov eax, dword [ebp - 0x4c]
push eax
push 0x466
mov ecx, dword [0x4284d8]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, 0x2710
jmp 0x40393e
cmp dword [0x4284ec], 0
jne 0x4033a7
mov dword [0x4284ec], 1
mov dword [0x4284f8], 0
cmp dword [0x42632c], 2
jne 0x4033f8
mov dword [0x42632c], 1
mov edx, dword [ebp + 0xc]
fld qword [edx]
call fcn.0040ce68
mov dword [0x426330], eax
mov eax, dword [ebp + 0x10]
fld qword [eax]
call fcn.0040ce68
mov dword [0x426334], eax
push 1
push 1
call fcn.004027bc
add esp, 8
mov eax, 2
jmp 0x40393e
mov ecx, dword [ebp + 0xc]
fld qword [ecx]
call fcn.0040ce68
cmp dword [0x426330], eax
jne 0x403426
mov edx, dword [ebp + 0x10]
fld qword [edx]
call fcn.0040ce68
cmp dword [0x426334], eax
jne 0x403426
mov eax, 0x1f4
jmp 0x40393e
mov eax, dword [ebp + 0xc]
fld qword [eax]
call fcn.0040ce68
mov dword [0x426330], eax
mov ecx, dword [ebp + 0x10]
fld qword [ecx]
call fcn.0040ce68
mov dword [0x426334], eax
mov eax, 1
jmp 0x40393e
mov byte [0x426338], 1
xor edx, edx
mov dl, byte [0x4284f0]
test edx, edx
jl 0x403479
xor eax, eax
mov al, byte [0x4284f0]
cmp eax, 0x80
jge 0x403479
mov dword [0x4284f4], 0
cmp dword [0x42632c], 1
je 0x403487
jmp case.0x402cb7.5
cmp dword [0x4284f8], 1
jle 0x40350c
mov dword [0x42632c], 2
mov dword [0x4284f8], 0xffffff9c
mov dword [0x426330], 0xffffff9c
mov dword [0x426334], 0xffffff9c
push 0
push 1
call fcn.004027bc
add esp, 8
cmp dword [0x4284d8], 0
je 0x4034f8
cmp dword [0x4284ec], 2
jne 0x4034f8
push 0
push 0xd
call fcn.004027bc
add esp, 8
push 0
push 0x6a
push 0x466
mov ecx, dword [0x4284d8]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov dword [0x4284ec], 0
mov eax, 3
jmp 0x40393e
mov edx, dword [0x4284f8]
add edx, 1
mov dword [0x4284f8], edx
jmp case.0x402cb7.5
mov dword [ebp - 0x54], 0
xor eax, eax
mov al, byte [0x4284f0]
test eax, eax
jl 0x403722
xor ecx, ecx
mov cl, byte [0x4284f0]
cmp ecx, 0x80
jge 0x403722
xor edx, edx
mov dl, byte [0x4284fc]
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax + 0xd]
cmp edx, ecx
je 0x403632
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 0xd]
and eax, 8
cmp eax, 8
jne 0x403587
mov dword [ebp - 0x54], 1
push 1
push 9
call fcn.004027bc
add esp, 8
jmp 0x403593
push 0
push 9
call fcn.004027bc
add esp, 8
mov ecx, dword [ebp + 8]
xor edx, edx
mov dl, byte [ecx + 0xd]
and edx, 4
cmp edx, 4
jne 0x4035b8
mov dword [ebp - 0x54], 2
push 1
push 0xa
call fcn.004027bc
add esp, 8
jmp 0x4035c4
push 0
push 0xa
call fcn.004027bc
add esp, 8
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax + 0xd]
and ecx, 2
cmp ecx, 2
jne 0x4035e9
mov dword [ebp - 0x54], 3
push 1
push 0xb
call fcn.004027bc
add esp, 8
jmp 0x4035f5
push 0
push 0xb
call fcn.004027bc
add esp, 8
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 0xd]
and eax, 1
cmp eax, 1
jne 0x40361a
mov dword [ebp - 0x54], 4
push 1
push 0xc
call fcn.004027bc
add esp, 8
jmp 0x403626
push 0
push 0xc
call fcn.004027bc
add esp, 8
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0xd]
mov byte [0x4284fc], dl
push 0
push 8
call fcn.004027bc
add esp, 8
push 0
push 7
call fcn.004027bc
add esp, 8
push 0
push 6
call fcn.004027bc
add esp, 8
push 0
push 5
call fcn.004027bc
add esp, 8
push 0
push 4
call fcn.004027bc
add esp, 8
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax + 0xc]
and ecx, 1
cmp ecx, 1
jne 0x403691
mov dword [ebp - 0x54], 5
push 1
push 4
call fcn.004027bc
add esp, 8
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 0xc]
and eax, 2
cmp eax, 2
jne 0x4036b4
mov dword [ebp - 0x54], 6
push 1
push 5
call fcn.004027bc
add esp, 8
mov ecx, dword [ebp + 8]
xor edx, edx
mov dl, byte [ecx + 0xc]
and edx, 8
cmp edx, 8
jne 0x4036d7
mov dword [ebp - 0x54], 7
push 1
push 6
call fcn.004027bc
add esp, 8
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax + 0xc]
and ecx, 4
cmp ecx, 4
jne 0x4036fa
mov dword [ebp - 0x54], 8
push 1
push 7
call fcn.004027bc
add esp, 8
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 0xc]
and eax, 0x10
cmp eax, 0x10
jne 0x40371d
mov dword [ebp - 0x54], 9
push 1
push 8
call fcn.004027bc
add esp, 8
jmp 0x40391b
xor ecx, ecx
mov cl, byte [0x4284f0]
cmp ecx, 0x80
jl 0x40391b
xor edx, edx
mov dl, byte [0x4284f0]
cmp edx, 0xff
jge 0x40391b
xor eax, eax
mov al, byte [0x4284fc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dl, byte [ecx + 6]
cmp eax, edx
je 0x403830
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax + 6]
and ecx, 8
cmp ecx, 8
jne 0x403786
mov dword [ebp - 0x54], 1
push 1
push 9
call fcn.004027bc
add esp, 8
jmp 0x403792
push 0
push 9
call fcn.004027bc
add esp, 8
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 6]
and eax, 4
cmp eax, 4
jne 0x4037b7
mov dword [ebp - 0x54], 2
push 1
push 0xa
call fcn.004027bc
add esp, 8
jmp 0x4037c3
push 0
push 0xa
call fcn.004027bc
add esp, 8
mov ecx, dword [ebp + 8]
xor edx, edx
mov dl, byte [ecx + 6]
and edx, 2
cmp edx, 2
jne 0x4037e8
mov dword [ebp - 0x54], 3
push 1
push 0xb
call fcn.004027bc
add esp, 8
jmp 0x4037f4
push 0
push 0xb
call fcn.004027bc
add esp, 8
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax + 6]
and ecx, 1
cmp ecx, 1
jne 0x403819
mov dword [ebp - 0x54], 4
push 1
push 0xc
call fcn.004027bc
add esp, 8
jmp 0x403825
push 0
push 0xc
call fcn.004027bc
add esp, 8
mov edx, dword [ebp + 8]
mov al, byte [edx + 6]
mov byte [0x4284fc], al
push 0
push 8
call fcn.004027bc
add esp, 8
push 0
push 7
call fcn.004027bc
add esp, 8
push 0
push 6
call fcn.004027bc
add esp, 8
push 0
push 5
call fcn.004027bc
add esp, 8
push 0
push 4
call fcn.004027bc
add esp, 8
mov ecx, dword [ebp + 8]
xor edx, edx
mov dl, byte [ecx + 5]
and edx, 1
cmp edx, 1
jne 0x40388f
mov dword [ebp - 0x54], 5
push 1
push 4
call fcn.004027bc
add esp, 8
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax + 5]
and ecx, 2
cmp ecx, 2
jne 0x4038b2
mov dword [ebp - 0x54], 6
push 1
push 5
call fcn.004027bc
add esp, 8
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 5]
and eax, 8
cmp eax, 8
jne 0x4038d5
mov dword [ebp - 0x54], 7
push 1
push 6
call fcn.004027bc
add esp, 8
mov ecx, dword [ebp + 8]
xor edx, edx
mov dl, byte [ecx + 5]
and edx, 4
cmp edx, 4
jne 0x4038f8
mov dword [ebp - 0x54], 8
push 1
push 7
call fcn.004027bc
add esp, 8
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax + 5]
and ecx, 0x10
cmp ecx, 0x10
jne 0x40391b
mov dword [ebp - 0x54], 9
push 1
push 8
call fcn.004027bc
add esp, 8
cmp dword [ebp - 0x54], 0
je 0x403929
mov eax, dword [ebp - 0x54]
add eax, 4
jmp 0x40393e
mov eax, 0x2710
jmp 0x40393e
mov eax, 0x2711
jmp 0x40393e
jmp 0x402aa1
xor eax, eax
mov esp, ebp
pop ebp
ret