Function at 0x451ae0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4930c7
mov eax, dword fs:[0]
push eax
sub esp, 0x108
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ae680]
xor eax, esp
push eax
lea eax, [esp + 0x11c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x12c]
call fcn.0044c190
mov esi, dword [eax + 0x2c8]
add eax, 0x2c4
mov dword [esp + 0x50], esi
call fcn.0044c190
test esi, esi
je 0x451d3a
jmp 0x451b40
cmp dword [0x4b29e8], 0
mov ebx, dword [esp + 0x50]
jne 0x451b88
push 0x370
call fcn.00455f7d
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x124], 0
test eax, eax
je 0x451b76
mov esi, eax
call fcn.0044ba50
jmp 0x451b78
xor eax, eax
mov dword [esp + 0x124], 0xffffffff
mov dword [0x4b29e8], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
lea edi, [eax + 8]
push edx
mov dword [esp + 0x54], ecx
call fcn.00408410
mov dword [esp + 0x124], 1
mov eax, dword [esp + 0x1c]
push str.InitMovement
push eax
call fcn.00476a04
add esp, 8
test eax, eax
sete al
test al, al
jne 0x451be4
mov ecx, dword [esp + 0x1c]
push str.InitMovetest
push ecx
call fcn.00476a04
add esp, 8
test eax, eax
sete al
test al, al
je 0x451cc4
mov edi, dword [0x4b29e8]
test edi, edi
jne 0x451c26
push 0x370
call fcn.00455f7d
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x124], 2
test eax, eax
je 0x451c14
mov esi, eax
call fcn.0044ba50
jmp 0x451c16
xor eax, eax
mov edi, eax
mov byte [esp + 0x124], 1
mov dword [0x4b29e8], edi
add edi, 0x2c4
cmp ebx, dword [edi + 4]
jne 0x451c38
mov edx, dword [ebx]
mov dword [edi + 4], edx
jmp 0x451c3f
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov dword [eax], ecx
cmp ebx, dword [edi + 8]
jne 0x451c4c
mov edx, dword [ebx + 4]
mov dword [edi + 8], edx
jmp 0x451c54
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0x10]
sub eax, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x451c73
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0xc]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x451c92
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 8]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x451cb1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi + 0x10]
mov dword [ebx], ecx
add dword [edi + 0xc], 0xffffffff
mov dword [edi + 0x10], ebx
jne 0x451cc4
call fcn.0040c6b0
mov dword [esp + 0x124], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x451cef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x451d0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x451d2f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x50], 0
jne 0x451b40
mov eax, dword [ebp + 0x338]
mov dword [esp + 0x50], eax
test eax, eax
je 0x452ed1
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
add eax, 8
lea esi, [esp + 0x54]
mov dword [esp + 0x50], ecx
call fcn.00410c60
mov dword [esp + 0x124], 3
test byte [esp + 0x55], 1
mov dword [esp + 0x34], 0
je 0x451e86
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x84]
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x98]
push 0x49c990
push ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x34], eax
call fcn.00476a04
add esp, 8
test eax, eax
setne al
test al, al
je 0x451dee
mov eax, dword [esp + 0xb0]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov edi, esp
push eax
mov dword [esp + 0x3c], 1
call fcn.00407730
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.0044ddb0
mov byte [esp + 0x30], al
jmp 0x451df3
mov byte [esp + 0x30], 0x11
mov edx, dword [esp + 0x30]
push esi
mov esi, dword [esp + 0xa0]
push 1
push edx
push ecx
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x28], esp
mov ebp, esp
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x451e30
cmp eax, dword [esi]
jne 0x451e30
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x451e64
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x452ee1
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.004763b2
add esp, 0x10
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x48]
push edx
add edi, 0x10
push eax
mov dword [ebp], edi
mov ebp, dword [esp + 0x144]
push ebx
push ebp
xor ecx, ecx
call fcn.0044e2b0
jmp 0x451e8d
mov ebp, dword [esp + 0x12c]
test byte [esp + 0x55], 2
je 0x451f9a
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x88]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0xb0]
push 0x49c990
push ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x34], eax
call fcn.00476a04
add esp, 8
test eax, eax
setne al
test al, al
je 0x451f0a
cmp dword [esp + 0x34], 0
jne 0x451f0a
mov eax, dword [esp + 0xb0]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
mov dword [esp + 0x3c], 1
call fcn.00407730
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0044ddb0
mov byte [esp + 0x30], al
jmp 0x451f0f
mov byte [esp + 0x30], 0x11
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0xa0]
push edx
push ecx
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x20], esp
mov ebx, esp
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x451f49
cmp eax, dword [esi]
jne 0x451f49
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x451f7d
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x452ee1
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.004763b2
add esp, 0x10
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
push edx
add edi, 0x10
push eax
mov dword [ebx], edi
push ecx
xor ecx, ecx
mov edi, ebp
call fcn.0044f3f0
test byte [esp + 0x55], 4
je 0x4520a8
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0xb0]
push 0x49c990
push edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], ecx
call fcn.00476a04
add esp, 8
test eax, eax
setne al
test al, al
je 0x452017
cmp dword [esp + 0x34], 0
jne 0x452017
mov eax, dword [esp + 0xb0]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
mov dword [esp + 0x3c], 1
call fcn.00407730
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0044ddb0
mov byte [esp + 0x30], al
jmp 0x45201c
mov byte [esp + 0x30], 0x11
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0xa4]
push 1
push eax
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x24], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x452058
cmp eax, dword [esi]
jne 0x452058
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x45208c
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x452ee1
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.004763b2
add esp, 0x10
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
push edx
push eax
push ecx
add edi, 0x10
push ebp
xor ecx, ecx
mov dword [ebx], edi
call fcn.00450950
test byte [esp + 0x55], 8
je 0x4521bb
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0xb0]
push 0x49c990
push edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], ecx
call fcn.00476a04
add esp, 8
test eax, eax
setne al
test al, al
je 0x452125
cmp dword [esp + 0x34], 0
jne 0x452125
mov eax, dword [esp + 0xb0]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
mov dword [esp + 0x3c], 1
call fcn.00407730
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0044ddb0
mov byte [esp + 0x30], al
jmp 0x45212a
mov byte [esp + 0x30], 0x11
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0xa8]
push 0x7d0
push 0
push eax
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x28], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x45216b
cmp eax, dword [esi]
jne 0x45216b
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x45219f
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x452ee1
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.004763b2
add esp, 0x10
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
push edx
push eax
push ecx
add edi, 0x10
push ebp
xor ecx, ecx
mov dword [ebx], edi
call fcn.0044e2b0
test byte [esp + 0x55], 0x10
je 0x4522c4
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0xb0]
push 0x49c990
push edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], ecx
call fcn.00476a04
add esp, 8
test eax, eax
setne al
test al, al
je 0x452233
cmp dword [esp + 0x34], 0
jne 0x452233
mov eax, dword [esp + 0xb0]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.00407730
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0044ddb0
mov byte [esp + 0x30], al
jmp 0x452238
mov byte [esp + 0x30], 0x11
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0xac]
push 0
push eax
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x24], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x452274
cmp eax, dword [esi]
jne 0x452274
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4522a8
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x452ee1
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.004763b2
add esp, 0x10
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
push edx
push eax
push ecx
add edi, 0x10
push ebp
xor ecx, ecx
mov dword [ebx], edi
call fcn.00450950
lea ecx, [esp + 0x1c]
call fcn.0040c270
mov byte [esp + 0x124], 4
mov eax, dword [0x4b29e8]
test eax, eax
jne 0x452313
push 0x370
call fcn.00455f7d
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x124], 5
test eax, eax
je 0x452304
mov esi, eax
call fcn.0044ba50
jmp 0x452306
xor eax, eax
mov byte [esp + 0x124], 4
mov dword [0x4b29e8], eax
cmp byte [eax + 0x6d], 0
je 0x452525
test byte [esp + 0x55], 9
je 0x4523c7
push 0xc
push str.InitMovement
lea ecx, [esp + 0x24]
call fcn.00407670
push 0x12
mov edx, 0x4092
push str.MAIN_STATUS_3_7:0_
lea ecx, [esp + 0x28]
mov word [esp + 0x30], dx
call fcn.00407670
push 7
push str.ReadAnd
lea ecx, [esp + 0x2c]
call fcn.00407670
mov eax, dword [ebp + 0x2cc]
lea esi, [ebp + 0x2c4]
push 0
push eax
mov byte [esp + 0x32], 1
call fcn.0040c380
mov ebx, eax
lea ecx, [esp + 0x1c]
lea edi, [ebx + 8]
push ecx
mov ecx, edi
call fcn.004077a0
lea edx, [esp + 0x20]
lea ecx, [edi + 4]
push edx
call fcn.004077a0
lea eax, [esp + 0x24]
lea ecx, [edi + 8]
push eax
call fcn.004077a0
mov cx, word [esp + 0x28]
mov word [edi + 0xc], cx
mov dl, byte [esp + 0x2a]
mov byte [edi + 0xe], dl
mov eax, dword [esi + 8]
test eax, eax
je 0x4523c1
mov dword [eax], ebx
jmp 0x4523c4
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
test byte [esp + 0x55], 2
je 0x45247a
cmp dword [ebp + 0x34], 0
je 0x452426
push 0xc
push str.InitMovement
lea ecx, [esp + 0x24]
call fcn.00407670
push 0x14
mov eax, 0x4094
push str.MOTOR_Y0_STATUS_7:0_
lea ecx, [esp + 0x28]
mov word [esp + 0x30], ax
call fcn.00407670
push 7
push str.ReadAnd
lea ecx, [esp + 0x2c]
call fcn.00407670
lea eax, [ebp + 0x2c4]
lea ebx, [esp + 0x1c]
mov byte [esp + 0x2a], 1
call fcn.0040c430
cmp dword [ebp + 0x48], 0
je 0x45247a
push 0xc
push str.InitMovement
lea ecx, [esp + 0x24]
call fcn.00407670
mov ecx, 0x4096
push 0x14
mov word [esp + 0x2c], cx
push str.MOTOR_Y1_STATUS_7:0_
lea ecx, [esp + 0x28]
call fcn.00407670
push 7
push str.ReadAnd
lea ecx, [esp + 0x2c]
call fcn.00407670
lea eax, [ebp + 0x2c4]
lea ebx, [esp + 0x1c]
mov byte [esp + 0x2a], 1
call fcn.0040c430
test byte [esp + 0x55], 0x14
je 0x4527d0
push 0xc
push str.InitMovement
lea ecx, [esp + 0x24]
call fcn.00407670
push 0x14
mov edx, 0x4099
push str.MOTO_ZN1_STATUS_7:0_
lea ecx, [esp + 0x28]
mov word [esp + 0x30], dx
call fcn.00407670
push 7
push str.ReadAnd
lea ecx, [esp + 0x2c]
call fcn.00407670
mov eax, dword [ebp + 0x2cc]
lea esi, [ebp + 0x2c4]
push 0
push eax
mov byte [esp + 0x32], 1
call fcn.0040c380
mov ebx, eax
lea ecx, [esp + 0x1c]
lea edi, [ebx + 8]
push ecx
mov ecx, edi
call fcn.004077a0
lea edx, [esp + 0x20]
lea ecx, [edi + 4]
push edx
call fcn.004077a0
lea eax, [esp + 0x24]
lea ecx, [edi + 8]
push eax
call fcn.004077a0
mov cx, word [esp + 0x28]
mov word [edi + 0xc], cx
mov dl, byte [esp + 0x2a]
mov byte [edi + 0xe], dl
mov eax, dword [esi + 8]
test eax, eax
je 0x4527ca
mov dword [eax], ebx
jmp 0x4527cd
test byte [esp + 0x55], 9
je 0x4525cf
push 0xc
push str.InitMovement
lea ecx, [esp + 0x24]
call fcn.00407670
push 0x12
mov eax, 0x400f
push str.MAIN_STATUS_3_7:0_
lea ecx, [esp + 0x28]
mov word [esp + 0x30], ax
call fcn.00407670
push 7
push str.ReadAnd
lea ecx, [esp + 0x2c]
call fcn.00407670
mov ecx, dword [ebp + 0x2cc]
lea esi, [ebp + 0x2c4]
push 0
push ecx
mov byte [esp + 0x32], 1
call fcn.0040c380
mov ebx, eax
lea edx, [esp + 0x1c]
lea edi, [ebx + 8]
push edx
mov ecx, edi
call fcn.004077a0
lea eax, [esp + 0x20]
lea ecx, [edi + 4]
push eax
call fcn.004077a0
lea edx, [esp + 0x24]
lea ecx, [edi + 8]
push edx
call fcn.004077a0
mov ax, word [esp + 0x28]
mov word [edi + 0xc], ax
mov cl, byte [esp + 0x2a]
mov byte [edi + 0xe], cl
mov eax, dword [esi + 8]
test eax, eax
je 0x4525c9
mov dword [eax], ebx
jmp 0x4525cc
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
test byte [esp + 0x55], 2
je 0x452682
cmp dword [ebp + 0x34], 0
je 0x45262e
push 0xc
push str.InitMovement
lea ecx, [esp + 0x24]
call fcn.00407670
push 0x14
mov edx, 0x40a0
push str.MOTOR_Y0_STATUS_7:0_
lea ecx, [esp + 0x28]
mov word [esp + 0x30], dx
call fcn.00407670
push 7
push str.ReadAnd
lea ecx, [esp + 0x2c]
call fcn.00407670
lea eax, [ebp + 0x2c4]
lea ebx, [esp + 0x1c]
mov byte [esp + 0x2a], 1
call fcn.0040c430
cmp dword [ebp + 0x48], 0
je 0x452682
push 0xc
push str.InitMovement
lea ecx, [esp + 0x24]
call fcn.00407670
push 0x14
mov eax, 0x40a2
push str.MOTOR_Y1_STATUS_7:0_
lea ecx, [esp + 0x28]
mov word [esp + 0x30], ax
call fcn.00407670
push 7
push str.ReadAnd
lea ecx, [esp + 0x2c]
call fcn.00407670
lea eax, [ebp + 0x2c4]
lea ebx, [esp + 0x1c]
mov byte [esp + 0x2a], 1
call fcn.0040c430
test byte [esp + 0x55], 0x14
je 0x4527d0
call fcn.0044c190
cmp byte [eax + 0x6c], 0
push 0xc
lea ecx, [esp + 0x20]
push str.InitMovement
je 0x45273c
call fcn.00407670
mov ecx, 0x41d3
push 0x14
mov word [esp + 0x2c], cx
push str.MOTO_ZN1_STATUS_7:0_
lea ecx, [esp + 0x28]
call fcn.00407670
push 7
push str.ReadAnd
lea ecx, [esp + 0x2c]
call fcn.00407670
mov edx, dword [ebp + 0x2cc]
lea esi, [ebp + 0x2c4]
push 0
push edx
mov byte [esp + 0x32], 1
call fcn.0040c380
mov ebx, eax
lea eax, [esp + 0x1c]
lea edi, [ebx + 8]
push eax
mov ecx, edi
call fcn.004077a0
lea edx, [esp + 0x20]
lea ecx, [edi + 4]
push edx
call fcn.004077a0
lea eax, [esp + 0x24]
lea ecx, [edi + 8]
push eax
call fcn.004077a0
mov cx, word [esp + 0x28]
mov word [edi + 0xc], cx
mov dl, byte [esp + 0x2a]
mov byte [edi + 0xe], dl
mov eax, dword [esi + 8]
test eax, eax
je 0x4527ca
mov dword [eax], ebx
jmp 0x4527cd
call fcn.00407670
push 0x14
mov eax, 0x40b3
push str.MOTO_ZN1_STATUS_7:0_
lea ecx, [esp + 0x28]
mov word [esp + 0x30], ax
call fcn.00407670
push 7
push str.ReadAnd
lea ecx, [esp + 0x2c]
call fcn.00407670
mov ecx, dword [ebp + 0x2cc]
lea esi, [ebp + 0x2c4]
push 0
push ecx
mov byte [esp + 0x32], 1
call fcn.0040c380
mov ebx, eax
lea edx, [esp + 0x1c]
lea edi, [ebx + 8]
push edx
mov ecx, edi
call fcn.004077a0
lea eax, [esp + 0x20]
lea ecx, [edi + 4]
push eax
call fcn.004077a0
lea edx, [esp + 0x24]
lea ecx, [edi + 8]
push edx
call fcn.004077a0
mov ax, word [esp + 0x28]
mov word [edi + 0xc], ax
mov cl, byte [esp + 0x2a]
mov byte [edi + 0xe], cl
mov eax, dword [esi + 8]
test eax, eax
je 0x4527ca
mov dword [eax], ebx
jmp 0x4527cd
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call fcn.0045ded3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x452ee6
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x3c], eax
push 0xc
mov bl, 6
push str.InitMovement
lea ecx, [esp + 0x44]
mov byte [esp + 0x12c], bl
call fcn.00407670
mov eax, dword [0x4b29e8]
test eax, eax
jne 0x45284a
push 0x370
call fcn.00455f7d
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x124], 7
test eax, eax
je 0x45283c
mov esi, eax
call fcn.0044ba50
jmp 0x45283e
xor eax, eax
mov byte [esp + 0x124], bl
mov dword [0x4b29e8], eax
mov ebx, dword [eax + 0x68]
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x1c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], eax
cmp eax, esi
je 0x4528b4
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4528a6
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4528a6
push eax
call fcn.00407730
mov dword [esp + 0x30], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x452899
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x2c]
add ecx, 0x10
mov dword [esp + 0x1c], ecx
jmp 0x4528b4
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00407670
push 0x13
mov edx, 0x4074
push str.MOTOR_Z_1_GEAR_7:0_
lea ecx, [esp + 0x28]
mov word [esp + 0x30], dx
call fcn.00407670
push 8
push str.RegWrite
lea ecx, [esp + 0x2c]
call fcn.00407670
mov eax, dword [ebp + 0x2cc]
lea esi, [ebp + 0x2c4]
push 0
push eax
mov byte [esp + 0x32], bl
call fcn.0040c380
mov ecx, dword [esp + 0x1c]
mov edi, dword [eax + 8]
lea ebx, [eax + 8]
mov dword [esp + 0x2c], eax
lea eax, [ecx - 0x10]
sub edi, 0x10
cmp eax, edi
je 0x452958
cmp dword [edi + 0xc], 0
lea ebp, [edi + 0xc]
jl 0x45294c
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x45294c
push eax
call fcn.00407730
mov dword [esp + 0x1c], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x452941
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x18]
add ecx, 0x10
mov dword [ebx], ecx
jmp 0x452958
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, ebx
call fcn.00407670
mov ecx, dword [esp + 0x20]
mov edi, dword [ebx + 4]
lea ebp, [ebx + 4]
lea eax, [ecx - 0x10]
sub edi, 0x10
cmp eax, edi
je 0x4529b6
cmp dword [edi + 0xc], 0
jl 0x4529aa
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x4529aa
push eax
call fcn.00407730
mov dword [esp + 0x1c], eax
add esp, 4
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45299e
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x18]
add ecx, 0x10
mov dword [ebp], ecx
jmp 0x4529b6
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, ebp
call fcn.00407670
mov ecx, dword [esp + 0x24]
mov edi, dword [ebx + 8]
lea ebp, [ebx + 8]
lea eax, [ecx - 0x10]
sub edi, 0x10
cmp eax, edi
je 0x452a14
cmp dword [edi + 0xc], 0
jl 0x452a08
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x452a08
push eax
call fcn.00407730
mov dword [esp + 0x1c], eax
add esp, 4
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4529fc
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x18]
add ecx, 0x10
mov dword [ebp], ecx
jmp 0x452a14
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, ebp
call fcn.00407670
mov dx, word [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov word [ebx + 0xc], dx
mov al, byte [esp + 0x2a]
mov byte [ebx + 0xe], al
mov eax, dword [esi + 8]
test eax, eax
je 0x452a33
mov dword [eax], ecx
jmp 0x452a36
mov dword [esi + 4], ecx
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
add edi, 0xfffffff0
mov dword [esi + 8], ecx
cmp eax, edi
je 0x452a93
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x452a81
mov ecx, dword [eax]
cmp ecx, dword [edi]
jne 0x452a81
push eax
call fcn.00407730
add esp, 4
mov ebp, eax
or edx, 0xffffffff
lock xadd dword [ebx], edx
dec edx
test edx, edx
jg 0x452a78
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
add ebp, 0x10
mov dword [esp + 0x1c], ebp
jmp 0x452a93
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00407670
push 0x13
mov eax, 0x4075
push str.MOTOR_Z_1_GEAR_7:0_
lea ecx, [esp + 0x28]
mov word [esp + 0x30], ax
call fcn.00407670
push 8
push str.RegWrite
lea ecx, [esp + 0x2c]
call fcn.00407670
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 8]
push 0
shr ecx, 8
push edx
mov byte [esp + 0x32], cl
call fcn.0040c380
mov ecx, dword [esp + 0x1c]
mov edi, dword [eax + 8]
lea ebx, [eax + 8]
mov dword [esp + 0x2c], eax
lea eax, [ecx - 0x10]
sub edi, 0x10
cmp eax, edi
je 0x452b35
cmp dword [edi + 0xc], 0
lea ebp, [edi + 0xc]
jl 0x452b29
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x452b29
push eax
call fcn.00407730
mov dword [esp + 0x1c], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x452b1e
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x18]
add ecx, 0x10
mov dword [ebx], ecx
jmp 0x452b35
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, ebx
call fcn.00407670
mov ecx, dword [esp + 0x20]
mov edi, dword [ebx + 4]
lea ebp, [ebx + 4]
lea eax, [ecx - 0x10]
sub edi, 0x10
cmp eax, edi
je 0x452b93
cmp dword [edi + 0xc], 0
jl 0x452b87
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x452b87
push eax
call fcn.00407730
mov dword [esp + 0x1c], eax
add esp, 4
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x452b7b
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x18]
add ecx, 0x10
mov dword [ebp], ecx
jmp 0x452b93
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, ebp
call fcn.00407670
mov ecx, dword [esp + 0x24]
mov edi, dword [ebx + 8]
lea ebp, [ebx + 8]
lea eax, [ecx - 0x10]
sub edi, 0x10
cmp eax, edi
je 0x452bf1
cmp dword [edi + 0xc], 0
jl 0x452be5
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x452be5
push eax
call fcn.00407730
mov dword [esp + 0x1c], eax
add esp, 4
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x452bd9
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x18]
add ecx, 0x10
mov dword [ebp], ecx
jmp 0x452bf1
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, ebp
call fcn.00407670
mov dx, word [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov word [ebx + 0xc], dx
mov al, byte [esp + 0x2a]
mov byte [ebx + 0xe], al
mov eax, dword [esi + 8]
test eax, eax
je 0x452c10
mov dword [eax], ecx
jmp 0x452c13
mov dword [esi + 4], ecx
mov edi, dword [esp + 0x1c]
add edi, 0xfffffff0
mov dword [esi + 8], ecx
cmp dword [esp + 0x38], edi
je 0x452c74
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x452c62
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
cmp edx, dword [edi]
jne 0x452c62
mov eax, ecx
push eax
call fcn.00407730
add esp, 4
mov ebp, eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x452c59
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add ebp, 0x10
mov dword [esp + 0x1c], ebp
jmp 0x452c74
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00407670
mov ecx, 0x4076
push 0x13
mov word [esp + 0x2c], cx
push str.MOTOR_Z_1_GEAR_7:0_
lea ecx, [esp + 0x28]
call fcn.00407670
push 8
push str.RegWrite
lea ecx, [esp + 0x2c]
call fcn.00407670
mov edx, dword [esp + 0x34]
mov eax, dword [esi + 8]
push 0
shr edx, 0x10
push eax
mov byte [esp + 0x32], dl
call fcn.0040c380
mov ecx, dword [esp + 0x1c]
mov edi, dword [eax + 8]
lea ebx, [eax + 8]
mov dword [esp + 0x2c], eax
lea eax, [ecx - 0x10]
sub edi, 0x10
cmp eax, edi
je 0x452d16
cmp dword [edi + 0xc], 0
lea ebp, [edi + 0xc]
jl 0x452d0a
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x452d0a
push eax
call fcn.00407730
mov dword [esp + 0x1c], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x452cff
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x18]
add ecx, 0x10
mov dword [ebx], ecx
jmp 0x452d16
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, ebx
call fcn.00407670
mov ecx, dword [esp + 0x20]
mov edi, dword [ebx + 4]
lea ebp, [ebx + 4]
lea eax, [ecx - 0x10]
sub edi, 0x10
cmp eax, edi
je 0x452d74
cmp dword [edi + 0xc], 0
jl 0x452d68
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x452d68
push eax
call fcn.00407730
mov dword [esp + 0x1c], eax
add esp, 4
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x452d5c
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x18]
add ecx, 0x10
mov dword [ebp], ecx
jmp 0x452d74
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, ebp
call fcn.00407670
mov ecx, dword [esp + 0x24]
mov edi, dword [ebx + 8]
lea ebp, [ebx + 8]
lea eax, [ecx - 0x10]
sub edi, 0x10
cmp eax, edi
je 0x452dd2
cmp dword [edi + 0xc], 0
jl 0x452dc6
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x452dc6
push eax
call fcn.00407730
mov dword [esp + 0x1c], eax
add esp, 4
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x452dba
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x18]
add ecx, 0x10
mov dword [ebp], ecx
jmp 0x452dd2
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, ebp
call fcn.00407670
mov dx, word [esp + 0x28]
mov word [ebx + 0xc], dx
mov al, byte [esp + 0x2a]
mov byte [ebx + 0xe], al
mov eax, dword [esi + 8]
test eax, eax
je 0x452df1
mov ecx, dword [esp + 0x2c]
mov dword [eax], ecx
jmp 0x452df8
mov edx, dword [esp + 0x2c]
mov dword [esi + 4], edx
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x20]
mov dword [esi + 8], eax
call fcn.004077a0
push 0x13
mov edx, 0x4077
push str.MOTOR_Z_1_GEAR_7:0_
lea ecx, [esp + 0x28]
mov word [esp + 0x30], dx
call fcn.00407670
push 8
push str.RegWrite
lea ecx, [esp + 0x2c]
call fcn.00407670
mov eax, dword [esp + 0x34]
shr eax, 0x18
mov byte [esp + 0x2a], al
lea ebx, [esp + 0x1c]
mov eax, esi
call fcn.0040c430
mov eax, dword [esp + 0x38]
mov byte [esp + 0x124], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x452e72
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
call fcn.0040c640
mov dword [esp + 0x124], 0xffffffff
mov eax, dword [esp + 0xb0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x452ea9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push fcn.00407860
push 5
push 4
lea ecx, [esp + 0xa8]
push ecx
call fcn.00476a79
cmp dword [esp + 0x50], 0
jne 0x451d4c
mov ebp, dword [esp + 0x12c]
mov eax, dword [ebp + 0x354]
test eax, eax
je 0x453600
jmp 0x452ef4
call fcn.00407720
push 0x80004005
call fcn.00407700
mov eax, dword [esp + 0x50]
mov edx, dword [eax]
add eax, 8
lea esi, [esp + 0xb4]
mov dword [esp + 0x50], edx
call fcn.00410c60
mov dword [esp + 0x124], 8
test byte [esp + 0xb5], 1
mov dword [esp + 0x34], 0
je 0x452fe4
mov eax, dword [esp + 0x110]
mov edi, dword [esp + 0xbc]
mov ebx, dword [esp + 0xd0]
mov ebp, dword [esp + 0xe4]
mov esi, dword [esp + 0xf8]
push 0x49c990
push eax
call fcn.00476a04
add esp, 8
test eax, eax
setne al
test al, al
je 0x452f9c
mov eax, dword [esp + 0x110]
push ecx
mov dword [esp + 0x1c], esp
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
push eax
mov dword [esp + 0x3c], 1
call fcn.00407730
mov ecx, dword [esp + 0x20]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
call fcn.0044ddb0
mov byte [esp + 0x30], al
jmp 0x452fa1
mov byte [esp + 0x30], 0x11
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0xfc]
push esi
push 1
push edx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.00407730
add esp, 4
push ebp
add eax, 0x10
push ebx
mov dword [esi], eax
mov eax, dword [esp + 0x144]
push edi
push eax
mov ecx, 1
call fcn.0044e2b0
mov ebp, dword [esp + 0x12c]
test byte [esp + 0xb5], 2
je 0x45309e
mov edx, dword [esp + 0x110]
mov ecx, dword [esp + 0xe8]
mov edi, dword [esp + 0xc0]
mov ebx, dword [esp + 0xd4]
push 0x49c990
push edx
mov dword [esp + 0x34], ecx
call fcn.00476a04
add esp, 8
test eax, eax
setne al
test al, al
je 0x453062
cmp dword [esp + 0x34], 0
jne 0x453062
mov eax, dword [esp + 0x110]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
mov dword [esp + 0x3c], 1
call fcn.00407730
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0044ddb0
mov byte [esp + 0x30], al
jmp 0x453067
mov byte [esp + 0x30], 0x11
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x104]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov esi, esp
push eax
call fcn.00407730
mov ecx, dword [esp + 0x38]
add esp, 4
push ecx
push ebx
add eax, 0x10
push edi
mov ecx, 1
mov edi, ebp
mov dword [esi], eax
call fcn.0044f3f0
test byte [esp + 0xb5], 4
je 0x453159
mov eax, dword [esp + 0x110]
mov edx, dword [esp + 0xec]
mov edi, dword [esp + 0xc4]
mov ebx, dword [esp + 0xd8]
push 0x49c990
push eax
mov dword [esp + 0x34], edx
call fcn.00476a04
add esp, 8
test eax, eax
setne al
test al, al
je 0x45311c
cmp dword [esp + 0x34], 0
jne 0x45311c
mov eax, dword [esp + 0x110]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
mov dword [esp + 0x3c], 1
call fcn.00407730
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0044ddb0
mov byte [esp + 0x30], al
jmp 0x453121
mov byte [esp + 0x30], 0x11
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x104]
push 1
push ecx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
call fcn.00407730
mov edx, dword [esp + 0x3c]
add esp, 4
push edx
push ebx
push edi
add eax, 0x10
push ebp
mov ecx, 1
mov dword [esi], eax
call fcn.00450950
test byte [esp + 0xb5], 8
je 0x453219
mov ecx, dword [esp + 0x110]
mov eax, dword [esp + 0xf0]
mov edi, dword [esp + 0xc8]
mov ebx, dword [esp + 0xdc]
push 0x49c990
push ecx
mov dword [esp + 0x34], eax
call fcn.00476a04
add esp, 8
test eax, eax
setne al
test al, al
je 0x4531d7
cmp dword [esp + 0x34], 0
jne 0x4531d7
mov eax, dword [esp + 0x110]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
mov dword [esp + 0x3c], 1
call fcn.00407730
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0044ddb0
mov byte [esp + 0x30], al
jmp 0x4531dc
mov byte [esp + 0x30], 0x11
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x108]
push 0x7d0
push 0
push edx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.00407730
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov eax, dword [esp + 0x3c]
push eax
push ebx
push edi
push ebp
mov ecx, 1
call fcn.0044e2b0
test byte [esp + 0xb5], 0x10
je 0x4532cc
mov edx, dword [esp + 0x110]
mov ecx, dword [esp + 0xf4]
mov edi, dword [esp + 0xcc]
mov ebx, dword [esp + 0xe0]
push 0x49c990
push edx
mov dword [esp + 0x34], ecx
call fcn.00476a04
add esp, 8
test eax, eax
setne al
test al, al
je 0x45328f
cmp dword [esp + 0x34], 0
jne 0x45328f
mov eax, dword [esp + 0x110]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.00407730
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0044ddb0
mov byte [esp + 0x30], al
jmp 0x453294
mov byte [esp + 0x30], 0x11
mov eax, dword [esp + 0x30]
push 0
push eax
mov eax, dword [esp + 0x114]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
call fcn.00407730
mov ecx, dword [esp + 0x3c]
add esp, 4
push ecx
push ebx
push edi
add eax, 0x10
push ebp
mov ecx, 1
mov dword [esi], eax
call fcn.00450950
lea ecx, [esp + 0x40]
call fcn.0040c270
mov bl, 9
mov byte [esp + 0x124], bl
call fcn.0044c190
cmp byte [eax + 0x6d], 0
je 0x453427
test byte [esp + 0xb5], bl
je 0x453344
push 0xc
push str.InitMovetest
lea ecx, [esp + 0x48]
call fcn.00407670
push 0x12
mov edx, 0x4092
push str.MAIN_STATUS_3_7:0_
lea ecx, [esp + 0x4c]
mov word [esp + 0x54], dx
call fcn.00407670
push 7
push str.ReadAnd
lea ecx, [esp + 0x50]
call fcn.00407670
lea eax, [ebp + 0x2c4]
lea ebx, [esp + 0x40]
mov byte [esp + 0x4e], 1
call fcn.0040c430
test byte [esp + 0xb5], 2
je 0x4533fa
cmp dword [ebp + 0x34], 0
je 0x4533a6
push 0xc
push str.InitMovetest
lea ecx, [esp + 0x48]
call fcn.00407670
push 0x14
mov eax, 0x4094
push str.MOTOR_Y0_STATUS_7:0_
lea ecx, [esp + 0x4c]
mov word [esp + 0x54], ax
call fcn.00407670
push 7
push str.ReadAnd
lea ecx, [esp + 0x50]
call fcn.00407670
lea eax, [ebp + 0x2c4]
lea ebx, [esp + 0x40]
mov byte [esp + 0x4e], 1
call fcn.0040c430
cmp dword [ebp + 0x48], 0
je 0x4533fa
push 0xc
push str.InitMovetest
lea ecx, [esp + 0x48]
call fcn.00407670
mov ecx, 0x4096
push 0x14
mov word [esp + 0x50], cx
push str.MOTOR_Y1_STATUS_7:0_
lea ecx, [esp + 0x4c]
call fcn.00407670
push 7
push str.ReadAnd
lea ecx, [esp + 0x50]
call fcn.00407670
lea eax, [ebp + 0x2c4]
lea ebx, [esp + 0x40]
mov byte [esp + 0x4e], 1
call fcn.0040c430
test byte [esp + 0xb5], 0x14
je 0x4535a8
push 0xc
push str.InitMovetest
lea ecx, [esp + 0x48]
call fcn.00407670
mov edx, 0x4099
mov word [esp + 0x4c], dx
jmp 0x453574
test byte [esp + 0xb5], bl
je 0x45347e
push 0xc
push str.InitMovetest
lea ecx, [esp + 0x48]
call fcn.00407670
push 0x12
mov eax, 0x400f
push str.MAIN_STATUS_3_7:0_
lea ecx, [esp + 0x4c]
mov word [esp + 0x54], ax
call fcn.00407670
push 7
push str.ReadAnd
lea ecx, [esp + 0x50]
call fcn.00407670
lea eax, [ebp + 0x2c4]
lea ebx, [esp + 0x40]
mov byte [esp + 0x4e], 1
call fcn.0040c430
test byte [esp + 0xb5], 2
je 0x453534
cmp dword [ebp + 0x34], 0
je 0x4534e0
push 0xc
push str.InitMovetest
lea ecx, [esp + 0x48]
call fcn.00407670
mov ecx, 0x40a0
push 0x14
mov word [esp + 0x50], cx
push str.MOTOR_Y0_STATUS_7:0_
lea ecx, [esp + 0x4c]
call fcn.00407670
push 7
push str.ReadAnd
lea ecx, [esp + 0x50]
call fcn.00407670
lea eax, [ebp + 0x2c4]
lea ebx, [esp + 0x40]
mov byte [esp + 0x4e], 1
call fcn.0040c430
cmp dword [ebp + 0x48], 0
je 0x453534
push 0xc
push str.InitMovetest
lea ecx, [esp + 0x48]
call fcn.00407670
push 0x14
mov edx, 0x40a2
push str.MOTOR_Y1_STATUS_7:0_
lea ecx, [esp + 0x4c]
mov word [esp + 0x54], dx
call fcn.00407670
push 7
push str.ReadAnd
lea ecx, [esp + 0x50]
call fcn.00407670
lea eax, [ebp + 0x2c4]
lea ebx, [esp + 0x40]
mov byte [esp + 0x4e], 1
call fcn.0040c430
test byte [esp + 0xb5], 0x14
je 0x4535a8
call fcn.0044c190
cmp byte [eax + 0x6c], 0
push 0xc
lea ecx, [esp + 0x44]
push str.InitMovetest
je 0x453565
call fcn.00407670
mov eax, 0x41d3
mov word [esp + 0x4c], ax
jmp 0x453574
call fcn.00407670
mov ecx, 0x40b3
mov word [esp + 0x4c], cx
push 0x14
push str.MOTO_ZN1_STATUS_7:0_
lea ecx, [esp + 0x4c]
call fcn.00407670
push 7
push str.ReadAnd
lea ecx, [esp + 0x50]
call fcn.00407670
lea ebx, [esp + 0x40]
lea eax, [ebp + 0x2c4]
mov byte [esp + 0x4e], 1
call fcn.0040c430
lea ecx, [esp + 0x40]
call fcn.0040c640
mov dword [esp + 0x124], 0xffffffff
mov eax, dword [esp + 0x110]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4535df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push fcn.00407860
push 5
push 4
lea ecx, [esp + 0x108]
push ecx
call fcn.00476a79
cmp dword [esp + 0x50], 0
jne 0x452ef0
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 4