Function at 0x4512d0
Capabilities:
Create thread
Resolve function by parsing pe exports
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x461043
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x568
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
push str.xio.motion
mov ecx, esi
mov dword [esp + 0x80], esi
call fcn.0043eaa0
mov dword [esi], 0x469dd0
xor ebx, ebx
push fcn.00417eb0
mov dword [esi + 0x160], ebx
mov dword [esi + 0x164], ebx
mov byte [esi + 0x168], bl
mov dword [esi + 0x16c], str.XiODeviceMotionBA0
push 0x4469c0
push 9
mov dword [esi + 0x170], ebx
mov dword [esi + 0x174], ebx
mov byte [esi + 0x178], bl
mov dword [esi + 0x17c], str.XiODeviceMotionBA1
lea eax, [esi + 0x190]
push 0x10
push eax
mov dword [esp + 0x590], ebx
mov dword [esi + 0x180], ebx
mov dword [esi + 0x184], ebx
mov byte [esi + 0x188], bl
mov dword [esi + 0x18c], str.XiODeviceMotionBA2GA1060
call fcn.0045b349
push fcn.00417eb0
push 0x4469c0
push 9
lea eax, [esi + 0x220]
push 0x10
push eax
mov byte [esp + 0x590], 1
call fcn.0045b349
push 0xaa2d20
lea edi, [esi + 0x2b0]
push str.XiODeviceMotionDrive
mov ecx, edi
mov byte [esp + 0x584], 2
call fcn.00457cc0
mov dword [edi], 0x4686b4
lea edi, [esi + 0x3e8]
push str.xio.device.motion.synchronous.scan
mov ecx, edi
mov byte [esp + 0x580], 3
call fcn.00457b50
mov dword [edi], 0x46b93c
lea edi, [esi + 0x500]
push str.xio.device.motion.synchronous.scan
mov ecx, edi
mov byte [esp + 0x580], 4
call fcn.00457c80
mov dword [edi], 0x469cc4
lea edi, [esi + 0x614]
push str.xio.device.motion.monitor
mov ecx, edi
mov byte [esp + 0x580], 5
call fcn.00457c80
mov dword [edi], 0x469cc4
lea edi, [esi + 0x728]
push str.xio.device.motion.synchronous.device
mov ecx, edi
mov byte [esp + 0x580], 6
call fcn.00457b50
mov dword [edi], 0x46b93c
push 0x43f8b0
push 0x447570
push 0x90
lea eax, [esi + 0x840]
push 0x118
push eax
mov byte [esp + 0x590], 7
call fcn.0045b349
push 0x4475d0
push 0x447590
push 0x90
push 0x114
lea edx, [esi + 0xa5c0]
push edx
mov byte [esp + 0x590], 8
call fcn.0045b349
push 0x4475d0
push 0x4475b0
push 0x90
lea eax, [esi + 0x14100]
push 0x114
push eax
mov byte [esp + 0x590], 9
call fcn.0045b349
lea edi, [esi + 0x1dc40]
push str.xio.device.motion.movement.capture
mov ecx, edi
mov byte [esp + 0x580], 0xa
call fcn.00457c80
mov dword [edi], 0x469cc4
cmp dword [ebp + 0xc], ebx
mov byte [esp + 0x57c], 0xb
mov dword [esi + 0x3cc], ebx
mov dword [esi + 0x3d0], ebx
mov dword [esi + 0x3d4], ebx
mov dword [esi + 0x3d8], ebx
mov dword [esi + 0x3dc], ebx
mov dword [esi + 0x3e4], ebx
mov dword [esi + 0x3e0], ebx
jge 0x451533
push ebx
push 9
push 0x19aa
mov ecx, esi
call fcn.0045a960
push ebx
mov ecx, esi
call fcn.0045add0
push ebx
mov ecx, esi
mov edi, eax
call fcn.0045ae70
push 1
mov ecx, esi
mov dword [esi + 0x160], eax
mov dword [esi + 0x164], edi
call fcn.0045add0
push 1
mov ecx, esi
mov edi, eax
call fcn.0045ae70
push 2
mov ecx, esi
mov dword [esi + 0x170], eax
mov dword [esi + 0x174], edi
call fcn.0045add0
push 2
mov ecx, esi
mov edi, eax
call fcn.0045ae70
push 2
mov ecx, esi
mov dword [esi + 0x180], eax
mov dword [esi + 0x184], edi
call fcn.0045ae70
add eax, 0x10800
mov edi, 0x800
push 2
mov ecx, esi
mov dword [esi + 0x190], eax
mov dword [esi + 0x194], edi
call fcn.0045ae70
add eax, 0x11800
push 2
mov ecx, esi
mov dword [esi + 0x1a0], eax
mov dword [esi + 0x1a4], edi
call fcn.0045ae70
add eax, 0x12800
push 2
mov ecx, esi
mov dword [esi + 0x1b0], eax
mov dword [esi + 0x1b4], edi
call fcn.0045ae70
add eax, 0x13800
push 2
mov ecx, esi
mov dword [esi + 0x1c0], eax
mov dword [esi + 0x1c4], edi
call fcn.0045ae70
add eax, 0x14800
push 2
mov ecx, esi
mov dword [esi + 0x1d0], eax
mov dword [esi + 0x1d4], edi
call fcn.0045ae70
add eax, 0x15800
push 2
mov ecx, esi
mov dword [esi + 0x1e0], eax
mov dword [esi + 0x1e4], edi
call fcn.0045ae70
add eax, 0x16800
push 2
mov ecx, esi
mov dword [esi + 0x1f0], eax
mov dword [esi + 0x1f4], edi
call fcn.0045ae70
add eax, 0x17800
push 2
mov ecx, esi
mov dword [esi + 0x200], eax
mov dword [esi + 0x204], edi
call fcn.0045ae70
add eax, 0x18800
mov dword [esi + 0x210], eax
push 2
mov ecx, esi
mov dword [esi + 0x214], edi
call fcn.0045ae70
add eax, 0x20000
push 2
mov ecx, esi
mov dword [esi + 0x220], eax
mov dword [esi + 0x224], edi
call fcn.0045ae70
add eax, 0x21000
push 2
mov ecx, esi
mov dword [esi + 0x230], eax
mov dword [esi + 0x234], edi
call fcn.0045ae70
add eax, 0x22000
push 2
mov ecx, esi
mov dword [esi + 0x240], eax
mov dword [esi + 0x244], edi
call fcn.0045ae70
add eax, 0x23000
push 2
mov ecx, esi
mov dword [esi + 0x250], eax
mov dword [esi + 0x254], edi
call fcn.0045ae70
add eax, 0x24000
push 2
mov ecx, esi
mov dword [esi + 0x260], eax
mov dword [esi + 0x264], edi
call fcn.0045ae70
add eax, 0x25000
push 2
mov ecx, esi
mov dword [esi + 0x270], eax
mov dword [esi + 0x274], edi
call fcn.0045ae70
add eax, 0x26000
push 2
mov ecx, esi
mov dword [esi + 0x280], eax
mov dword [esi + 0x284], edi
call fcn.0045ae70
add eax, 0x27000
push 2
mov ecx, esi
mov dword [esi + 0x290], eax
mov dword [esi + 0x294], edi
call fcn.0045ae70
add eax, 0x28000
mov ecx, esi
mov dword [esi + 0x2a0], eax
mov dword [esi + 0x2a4], edi
call fcn.0045ada0
push eax
lea eax, [esp + 0x44]
push 0x4691f0
push eax
call fcn.00457740
add esp, 0xc
mov ecx, eax
mov byte [esp + 0x57c], 0xc
call fcn.004577e0
push eax
lea ecx, [esi + 0x728]
call fcn.00457980
lea ecx, [esp + 0x40]
mov byte [esp + 0x57c], 0xb
call fcn.004577c0
cmp dword [ebp + 0xc], ebx
jge 0x452537
lea ecx, [esi + 0x2b0]
call fcn.00457d10
mov edi, eax
lea ecx, [esp + 0x78]
mov dword [esp + 0x30], edi
call fcn.0044c460
lea eax, [esi + 0x14100]
mov dword [esp + 0x34], eax
lea eax, [esi + 0x840]
mov byte [edi + 0xc], 1
mov byte [esp + 0x57c], 0xd
xor edi, edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x2c], eax
lea esp, [esp]
lea ecx, [esi + 0x2b0]
call fcn.00457d10
mov ecx, dword [esp + 0x3c]
lea eax, [eax + ecx + 0x178]
mov dword [eax + 0x5c], ebx
mov dword [eax + 0x60], ebx
mov dword [eax + 0x64], ebx
mov byte [eax + 0x68], bl
mov dword [eax + 0xbc], ebx
mov dword [eax + 0xcc], ebx
mov dword [eax + 0xc0], ebx
mov dword [eax + 0xc4], ebx
mov byte [eax + 0xc8], bl
mov dword [eax + 0xd0], ebx
mov dword [eax + 0xd4], ebx
mov byte [eax + 0xd8], bl
mov dword [eax + 0xdc], ebx
mov dword [eax + 0xe0], ebx
mov dword [eax + 0xe4], ebx
mov byte [eax + 0xe8], bl
mov dword [eax + 0xec], ebx
push edi
mov dword [eax + 0xf0], ebx
lea edx, [esp + 0x44]
push 0x4691f0
mov dword [eax + 0xf4], ebx
push edx
mov byte [eax + 0xf8], bl
call fcn.00457740
add esp, 0xc
mov ecx, eax
mov byte [esp + 0x57c], 0xe
call fcn.004577e0
mov ecx, dword [esp + 0x2c]
push eax
call fcn.00457980
lea ecx, [esp + 0x40]
mov byte [esp + 0x57c], 0xd
call fcn.004577c0
push edi
lea eax, [esp + 0x4c]
push 0x4691f0
push eax
call fcn.00457740
add esp, 0xc
mov ecx, eax
mov byte [esp + 0x57c], 0xf
call fcn.004577e0
mov ecx, dword [esp + 0x34]
push eax
add ecx, 0xffff64c0
call fcn.00457980
lea ecx, [esp + 0x48]
mov byte [esp + 0x57c], 0xd
call fcn.004577c0
push edi
lea ecx, [esp + 0x60]
push 0x4691f0
push ecx
call fcn.00457740
add esp, 0xc
mov ecx, eax
mov byte [esp + 0x57c], 0x10
call fcn.004577e0
mov ecx, dword [esp + 0x34]
push eax
call fcn.00457980
lea ecx, [esp + 0x5c]
mov byte [esp + 0x57c], 0xd
call fcn.004577c0
mov eax, dword [esp + 0x3c]
add dword [esp + 0x2c], 0x118
add dword [esp + 0x34], 0x114
add eax, 0x1738
inc edi
cmp eax, 0xd0f80
mov dword [esp + 0x3c], eax
jl 0x451800
mov ecx, 0x485ea8
call fcn.004401f0
mov ecx, 0x485ea8
test eax, eax
jne 0x4519d3
call fcn.004401d0
push eax
lea edx, [esp + 0x44]
push str._smotionxio.motion.csv
push edx
call fcn.00457740
add esp, 0xc
mov ecx, eax
mov byte [esp + 0x57c], 0x11
call fcn.004577e0
push eax
lea ecx, [esp + 0x7c]
call fcn.0044c530
test al, al
lea ecx, [esp + 0x40]
sete byte [esp + 0x3b]
mov byte [esp + 0x57c], 0xd
call fcn.004577c0
cmp byte [esp + 0x3b], bl
je 0x451a29
mov eax, dword [esp + 0x30]
mov byte [eax + 0xc], bl
jmp 0x451a29
call fcn.004401f0
push eax
lea ecx, [esp + 0x44]
push str._sxio.motion.csv
push ecx
call fcn.00457740
add esp, 0xc
mov ecx, eax
mov byte [esp + 0x57c], 0x12
call fcn.004577e0
push eax
lea ecx, [esp + 0x7c]
call fcn.0044c530
test al, al
lea ecx, [esp + 0x40]
sete byte [esp + 0x3b]
mov byte [esp + 0x57c], 0xd
call fcn.004577c0
cmp byte [esp + 0x3b], bl
je 0x451a29
mov edx, dword [esp + 0x30]
mov byte [edx + 0xc], bl
mov eax, dword [esp + 0x30]
cmp byte [eax + 0xc], bl
je 0x45206e
lea ecx, [esp + 0x78]
mov dword [esp + 0x48], ebx
call fcn.0045cec0
test eax, eax
jle 0x452060
jmp 0x451a50
mov ecx, dword [esp + 0x48]
push ecx
lea ecx, [esp + 0x7c]
call fcn.0045d060
mov ecx, dword [esp + 0x30]
mov edx, eax
imul edx, edx, 0x1738
cmp eax, ebx
mov dword [esp + 0x2c], eax
lea edi, [edx + ecx + 0x178]
jge 0x451a86
mov ecx, esi
call fcn.0045adb0
mov ecx, dword [esp + 0x2c]
jmp 0x451a8c
mov ecx, dword [esp + 0x2c]
mov eax, ecx
cdq
and edx, 0xf
add eax, edx
sar eax, 4
cmp eax, ebx
jl 0x451b5f
cmp ecx, ebx
jge 0x451aae
mov ecx, esi
call fcn.0045adb0
mov ecx, dword [esp + 0x2c]
jmp 0x451ab0
mov eax, ecx
cdq
and edx, 0xf
add eax, edx
sar eax, 4
cmp eax, 9
jge 0x451b5f
cmp ecx, ebx
jge 0x451ad3
mov ecx, esi
call fcn.0045adb0
mov ecx, dword [esp + 0x2c]
jmp 0x451ad5
mov eax, ecx
cdq
and edx, 0xf
add eax, edx
sar eax, 4
cmp ecx, ebx
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x30]
mov dword [eax + edx*8 + 0x10], 0x1000
jge 0x451afa
mov ecx, esi
call fcn.0045adb0
jmp 0x451afc
mov eax, ecx
mov ecx, dword [esp + 0x2c]
cdq
and edx, 0xf
add eax, edx
push ecx
sar eax, 4
push eax
mov ecx, esi
call fcn.0045ada0
push eax
lea edx, [esp + 0x78]
push str.XiODeviceMotion__d___mountable_port__d__axis__d_
push edx
call fcn.00457740
add esp, 0x14
mov ecx, eax
mov byte [esp + 0x57c], 0x13
call fcn.004577e0
push eax
push 0x4684dc
push str.__s___i___s_n
push 4
push 0x486aa0
call fcn.00457eb0
add esp, 0x14
lea ecx, [esp + 0x6c]
mov byte [esp + 0x57c], 0xd
call fcn.004577c0
mov ecx, dword [esp + 0x2c]
lea ecx, [esp + ecx*8 + 0xc0]
call fcn.004577e0
push eax
lea eax, [edi + 0x10]
push 8
push eax
call fcn.0040678b
add esp, 0xc
mov dword [esp + 0x3c], 0x4694c0
mov dword [esp + 0x40], 0x13
mov edi, edi
mov dword [esp + 0x34], 1
jmp 0x451ba0
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x34]
push ebx
lea edx, [eax - 0x16]
push ecx
push eax
add eax, 9
shl eax, 4
add eax, ecx
cmp edx, 1
mov edx, dword [esp + 0x38]
lea eax, [edi + eax*2]
push edx
lea ecx, [esp + 0x88]
push eax
ja 0x451c44
call fcn.0044c830
cmp eax, 1
jge 0x451bde
mov ecx, dword [esp + 0x30]
mov byte [ecx + 0xc], bl
mov dword [esp + 0x64], 1
mov dword [esp + 0x5c], 0x19
mov edi, edi
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x3c]
mov eax, dword [edx]
mov edx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x38]
push ecx
push eax
push edx
mov edx, dword [esp + 0x6c]
lea eax, [eax + edx + 9]
shl eax, 4
add eax, ecx
lea ecx, [edi + eax*2]
push ecx
lea ecx, [esp + 0x8c]
call fcn.0044c830
test eax, eax
jge 0x451c2e
mov edx, dword [esp + 0x30]
mov byte [edx + 0xc], bl
mov eax, dword [esp + 0x5c]
inc dword [esp + 0x64]
add eax, 0x19
cmp eax, 0x7d
mov dword [esp + 0x5c], eax
jl 0x451bf0
jmp 0x451c55
call fcn.0044c830
cmp eax, 1
jge 0x451c55
mov ecx, dword [esp + 0x30]
mov byte [ecx + 0xc], bl
mov eax, dword [esp + 0x34]
inc eax
cmp eax, 0xa
mov dword [esp + 0x34], eax
jl 0x451ba0
add dword [esp + 0x3c], 4
sub dword [esp + 0x40], 1
jne 0x451b90
mov dword [edi + 0x13fc], ebx
mov dword [edi + 0x1400], ebx
movzx eax, word [edi + 0x126]
mov ecx, 0x8000
cmp eax, ecx
jg 0x451d96
je 0x451d8a
cmp eax, 0xe
ja case.default.0x451da0
jmp dword [eax*4 + 0x45264c]
mov dword [edi + 0x1c], 0x800
mov byte [edi + 0x20], bl
jmp case.default.0x451da0
mov dword [edi + 0x1c], 0xfa0
mov byte [edi + 0x20], bl
jmp case.default.0x451da0
mov dword [edi + 0x1c], 0x1000
mov byte [edi + 0x20], bl
jmp case.default.0x451da0
mov dword [edi + 0x1c], 0x1770
mov byte [edi + 0x20], bl
jmp case.default.0x451da0
mov dword [edi + 0x1c], 0x1f40
mov byte [edi + 0x20], bl
jmp case.default.0x451da0
mov dword [edi + 0x1c], 0x2000
mov byte [edi + 0x20], bl
jmp case.default.0x451da0
mov dword [edi + 0x1c], 0x2710
mov byte [edi + 0x20], bl
jmp case.default.0x451da0
mov dword [edi + 0x1c], 0x2ee0
mov byte [edi + 0x20], bl
jmp case.default.0x451da0
mov dword [edi + 0x1c], 0x3e80
mov byte [edi + 0x20], bl
jmp case.default.0x451da0
mov dword [edi + 0x1c], 0x4000
mov byte [edi + 0x20], bl
jmp case.default.0x451da0
mov dword [edi + 0x1c], 0x4e20
mov byte [edi + 0x20], bl
jmp case.default.0x451da0
mov dword [edi + 0x1c], 0x5dc0
mov byte [edi + 0x20], bl
jmp case.default.0x451da0
mov dword [edi + 0x1c], ecx
mov byte [edi + 0x20], bl
jmp case.default.0x451da0
mov dword [edi + 0x1c], 0x10000
mov byte [edi + 0x20], bl
jmp case.default.0x451da0
mov dword [edi + 0x1c], 0x20000
mov byte [edi + 0x20], bl
jmp case.default.0x451da0
mov dword [edi + 0x1c], 0x200
jmp 0x451e16
sub eax, 0x8001
cmp eax, 0xc
ja case.default.0x451da0
jmp dword [eax*4 + 0x452688]
mov dword [edi + 0x1c], 0x400
jmp 0x451e16
mov dword [edi + 0x1c], 0x800
jmp 0x451e16
mov dword [edi + 0x1c], 0x1000
jmp 0x451e16
mov dword [edi + 0x1c], 0x2000
jmp 0x451e16
mov dword [edi + 0x1c], 0x4000
jmp 0x451e16
mov dword [edi + 0x1c], ecx
jmp 0x451e16
mov dword [edi + 0x1c], 0x10000
jmp 0x451e16
mov dword [edi + 0x1c], 0x20000
jmp 0x451e16
mov dword [edi + 0x1c], 0x40000
jmp 0x451e16
mov dword [edi + 0x1c], 0x80000
jmp 0x451e16
mov dword [edi + 0x1c], 0x100000
jmp 0x451e16
mov dword [edi + 0x1c], 0x200000
jmp 0x451e16
mov dword [edi + 0x1c], 0x400000
mov byte [edi + 0x20], 1
mov edx, dword [esp + 0x2c]
push ebx
lea eax, [edi + 0x18]
push edx
push eax
lea ecx, [esp + 0x84]
call fcn.0044d0a0
test al, al
jne 0x451e3b
mov eax, dword [esp + 0x30]
mov byte [eax + 0xc], bl
mov ecx, dword [esp + 0x2c]
push 1
push ecx
lea eax, [edi + 0x30]
push eax
lea ecx, [esp + 0x84]
call fcn.0044cc60
test al, al
jne 0x451e5d
mov edx, dword [esp + 0x30]
mov byte [edx + 0xc], bl
mov ecx, dword [esp + 0x2c]
push 2
push ecx
lea eax, [edi + 0x38]
push eax
lea ecx, [esp + 0x84]
call fcn.0044cc60
test al, al
jne 0x451e7f
mov edx, dword [esp + 0x30]
mov byte [edx + 0xc], bl
mov eax, dword [esp + 0x2c]
push 0x65
push eax
lea ecx, [edi + 0x40]
push ecx
lea ecx, [esp + 0x84]
call fcn.0044cc60
test al, al
jne 0x451ea1
mov edx, dword [esp + 0x30]
mov byte [edx + 0xc], bl
mov eax, dword [esp + 0x2c]
push 0x385
push eax
lea ecx, [edi + 0x78]
push ecx
lea ecx, [esp + 0x84]
call fcn.0044cc60
test al, al
jne 0x451ec6
mov edx, dword [esp + 0x30]
mov byte [edx + 0xc], bl
mov eax, dword [esp + 0x2c]
push 0x386
push eax
lea ecx, [edi + 0x80]
push ecx
lea ecx, [esp + 0x84]
call fcn.0044cc60
test al, al
jne 0x451eee
mov edx, dword [esp + 0x30]
mov byte [edx + 0xc], bl
mov eax, dword [esp + 0x2c]
push 0x387
push eax
lea ecx, [edi + 0x88]
push ecx
lea ecx, [esp + 0x84]
call fcn.0044cc60
test al, al
jne 0x451f16
mov edx, dword [esp + 0x30]
mov byte [edx + 0xc], bl
mov eax, dword [esp + 0x2c]
push 0x388
push eax
lea ecx, [edi + 0x90]
push ecx
lea ecx, [esp + 0x84]
call fcn.0044cc60
test al, al
jne 0x451f3e
mov edx, dword [esp + 0x30]
mov byte [edx + 0xc], bl
mov eax, dword [esp + 0x2c]
push 0x389
push eax
lea ecx, [edi + 0x98]
push ecx
lea ecx, [esp + 0x84]
call fcn.0044ce80
test al, al
jne 0x451f66
mov edx, dword [esp + 0x30]
mov byte [edx + 0xc], bl
mov eax, dword [esp + 0x2c]
push 0x38a
push eax
lea ecx, [edi + 0x9c]
push ecx
lea ecx, [esp + 0x84]
call fcn.0044ce80
test al, al
jne 0x451f8e
mov edx, dword [esp + 0x30]
mov byte [edx + 0xc], bl
mov ecx, dword [edi + 0x18]
mov eax, ecx
and eax, 0xff0000
cmp eax, 0x20000
jne 0x452018
movzx eax, byte [edi + 0x19]
movzx ecx, cl
mov dword [edi + 0x24], eax
cmp eax, dword [esp + 0x2c]
jne 0x451fb4
mov dword [edi + 0x28], ecx
jmp 0x451fbb
mov dword [edi + 0x28], 0xffffffff
push ecx
mov ecx, dword [esp + 0x30]
push eax
push ecx
mov ecx, esi
call fcn.0045ada0
push eax
lea edx, [esp + 0x64]
push str.XiODeviceMotion__d_Drive__d___Dual_Drive_master__d__slave__d_
push edx
call fcn.00457740
add esp, 0x18
mov ecx, eax
mov byte [esp + 0x57c], 0x14
call fcn.004577e0
push eax
push 0x4684dc
push str.__s___i___s_n
push 4
push 0x486aa0
call fcn.00457eb0
add esp, 0x14
lea ecx, [esp + 0x54]
mov byte [esp + 0x57c], 0xd
call fcn.004577c0
jmp 0x452026
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], 0xffffffff
fld qword [edi + 0x38]
mov ecx, dword [esp + 0x2c]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [edi + 0x30]
fstp qword [esp]
push ecx
lea ecx, [edi + 0x1508]
call fcn.0045bda0
mov edi, dword [esp + 0x48]
inc edi
lea ecx, [esp + 0x78]
mov dword [esp + 0x48], edi
call fcn.0045cec0
cmp edi, eax
jl 0x451a50
mov edx, dword [esp + 0x30]
mov dword [edx + 0xe2a44], 1
mov eax, dword [esp + 0x30]
cmp byte [eax + 0xc], bl
je 0x4523a4
xor edi, edi
add eax, 0xd3fe0
mov dword [esp + 0x34], 0xdcc80
mov dword [esp + 0x2c], eax
mov edi, edi
xor eax, eax
push eax
or eax, 0xffffffff
push eax
push 0x1200
call dword [sym.imp.RTX_RTSS.SYS_RtAllocateContiguousMemory]
mov ecx, dword [esp + 0x2c]
mov dword [ecx - 0x2ee0], eax
cmp eax, ebx
jne 0x452115
mov edx, dword [esp + 0x30]
mov byte [edx + 0xc], bl
call dword [sym.imp.RTX_RTSS.SYS_GetLastError]
push eax
push edi
mov ecx, esi
call fcn.0045ada0
push eax
lea eax, [esp + 0x60]
push str.XiODeviceMotion__d_DMA_TX_04d___NG_allocate_transmit_contiguous_memory__error__d_
push eax
call fcn.00457740
add esp, 0x14
mov ecx, eax
mov byte [esp + 0x57c], 0x16
call fcn.004577e0
push eax
push 0x4684dc
push str.__s___w___s_n
push 2
push 0x486aa0
call fcn.00457eb0
add esp, 0x14
lea ecx, [esp + 0x54]
mov byte [esp + 0x57c], 0xd
call fcn.004577c0
jmp 0x452124
push 0x1200
push ebx
push eax
call fcn.00409680
add esp, 0xc
xor eax, eax
push eax
or eax, 0xffffffff
push eax
push 0x1200
call dword [sym.imp.RTX_RTSS.SYS_RtAllocateContiguousMemory]
mov ecx, dword [esp + 0x2c]
mov dword [ecx], eax
cmp eax, ebx
jne 0x4521a5
mov edx, dword [esp + 0x30]
mov byte [edx + 0xc], bl
call dword [sym.imp.RTX_RTSS.SYS_GetLastError]
push eax
push edi
mov ecx, esi
call fcn.0045ada0
push eax
lea eax, [esp + 0x78]
push str.XiODeviceMotion__d_DMA_RX_04d___NG_allocate_receive_contiguous_memory__error__d_
push eax
call fcn.00457740
add esp, 0x14
mov ecx, eax
mov byte [esp + 0x57c], 0x17
call fcn.004577e0
push eax
push 0x4684dc
push str.__s___w___s_n
push 2
push 0x486aa0
call fcn.00457eb0
add esp, 0x14
lea ecx, [esp + 0x6c]
mov byte [esp + 0x57c], 0xd
call fcn.004577c0
jmp 0x4521b4
push 0x1200
push ebx
push eax
call fcn.00409680
add esp, 0xc
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0x2ee0]
cmp eax, ebx
je 0x452275
push eax
call dword [sym.imp.RTX_RTSS.SYS_RtGetPhysicalAddress]
lea ecx, [esi + 0x2b0]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
call fcn.00457d10
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x40]
mov dword [eax + ecx - 0x5dc0], edx
mov edx, dword [esp + 0x44]
mov dword [eax + ecx - 0x5dbc], edx
lea ecx, [esi + 0x2b0]
call fcn.00457d10
mov ecx, dword [esp + 0x34]
cmp dword [eax + ecx - 0x5dc0], ebx
jne 0x452275
mov edx, dword [esp + 0x30]
mov byte [edx + 0xc], bl
call dword [sym.imp.RTX_RTSS.SYS_GetLastError]
push eax
push edi
mov ecx, esi
call fcn.0045ada0
push eax
lea eax, [esp + 0x68]
push str.XiODeviceMotion__d_DMA_TX_04d___NG_get_physical_address_from_the_virtual_address__error__d_
push eax
call fcn.00457740
add esp, 0x14
mov ecx, eax
mov byte [esp + 0x57c], 0x18
call fcn.004577e0
push eax
push 0x4684dc
push str.__s___w___s_n
push 2
push 0x486aa0
call fcn.00457eb0
add esp, 0x14
lea ecx, [esp + 0x5c]
mov byte [esp + 0x57c], 0xd
call fcn.004577c0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
cmp eax, ebx
je 0x452327
push eax
call dword [sym.imp.RTX_RTSS.SYS_RtGetPhysicalAddress]
lea ecx, [esi + 0x2b0]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
call fcn.00457d10
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x48]
mov dword [eax + ecx], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx + 4], edx
lea ecx, [esi + 0x2b0]
call fcn.00457d10
mov ecx, dword [esp + 0x34]
cmp dword [eax + ecx], ebx
jne 0x452327
mov edx, dword [esp + 0x30]
mov byte [edx + 0xc], bl
call dword [sym.imp.RTX_RTSS.SYS_GetLastError]
push eax
push edi
mov ecx, esi
call fcn.0045ada0
push eax
lea eax, [esp + 0x70]
push str.XiODeviceMotion__d_DMA_RX_04d___NG_get_physical_address_from_the_virtual_address__error__d_
push eax
call fcn.00457740
add esp, 0x14
mov ecx, eax
mov byte [esp + 0x57c], 0x19
call fcn.004577e0
push eax
push 0x4684dc
push str.__s___w___s_n
push 2
push 0x486aa0
call fcn.00457eb0
add esp, 0x14
lea ecx, [esp + 0x64]
mov byte [esp + 0x57c], 0xd
call fcn.004577c0
mov eax, dword [esp + 0x34]
add dword [esp + 0x2c], 4
add eax, 8
inc edi
cmp eax, 0xe2a40
mov dword [esp + 0x34], eax
jl 0x452090
lea ecx, [esi + 0x2b0]
call fcn.00457d10
mov ecx, dword [eax + 0xd6ec0]
push ecx
lea edi, [esi + 0x170]
mov ecx, edi
call fcn.00445f10
lea ecx, [esi + 0x2b0]
call fcn.00457d10
mov edx, dword [eax + 0xdcc80]
push edx
mov ecx, edi
call fcn.004460b0
push 0x1200
mov ecx, edi
call fcn.00445fe0
push 0x1200
mov ecx, edi
call fcn.00446180
lea ecx, [esi + 0x2b0]
call fcn.00457d10
mov dword [eax + 0xe2a40], ebx
mov eax, dword [esp + 0x30]
cmp byte [eax + 0xc], bl
je 0x452405
mov ecx, eax
xor edi, edi
add ecx, 0xe2b88
mov dword [esp + 0x40], ecx
jmp 0x4523c0
push 0x290
call fcn.00459947
add esp, 4
mov dword [esp + 0x48], eax
mov byte [esp + 0x57c], 0x1a
cmp eax, ebx
je 0x4523e8
push edi
push ebx
mov ecx, eax
call fcn.00456290
jmp 0x4523ea
xor eax, eax
mov ecx, dword [esp + 0x40]
mov dword [ecx], eax
inc edi
add ecx, 4
cmp edi, 3
mov byte [esp + 0x57c], 0xd
mov dword [esp + 0x40], ecx
jl 0x4523c0
push 0x7f
push esi
push 0x44d320
push 0x447960
mov ecx, esi
call fcn.0045aa50
test al, al
jne 0x452424
mov edx, dword [esp + 0x30]
mov byte [edx + 0xc], bl
mov edi, dword [sym.imp.RTX_RTSS.SYS_CreateThread]
push ebx
push 4
push esi
push 0x4479b0
push ebx
push ebx
call edi
mov dword [esi + 0x3cc], eax
cmp eax, ebx
jne 0x452448
mov eax, dword [esp + 0x30]
mov byte [eax + 0xc], bl
push ebx
push 4
push esi
push 0x449570
push ebx
push ebx
call edi
mov dword [esi + 0x3d0], eax
cmp eax, ebx
jne 0x452466
mov ecx, dword [esp + 0x30]
mov byte [ecx + 0xc], bl
push ebx
push 4
push esi
push 0x450720
push ebx
push ebx
call edi
mov dword [esi + 0x3d4], eax
cmp eax, ebx
jne 0x452484
mov edx, dword [esp + 0x30]
mov byte [edx + 0xc], bl
mov eax, dword [esp + 0x30]
cmp byte [eax + 0xc], bl
je 0x4524f8
lea edi, [esi + 0x160]
push ebx
mov ecx, edi
call fcn.00445480
push 1
mov ecx, edi
call fcn.004453a0
push ebx
mov ecx, edi
call fcn.004453a0
push 1
mov ecx, edi
call fcn.00444af0
push 0x120000
mov ecx, edi
call fcn.00444bc0
lea ecx, [esi + 0x500]
call fcn.004589d0
lea ecx, [esi + 0x1dc40]
call fcn.004589d0
mov ecx, dword [esi + 0x3cc]
mov edi, dword [sym.imp.RTX_RTSS.SYS_ResumeThread]
push ecx
call edi
mov edx, dword [esi + 0x3d0]
push edx
call edi
mov eax, dword [esi + 0x3d4]
push eax
call edi
mov dword [esp + 0x78], 0x46a758
push fcn.004577c0
push 0x90
push 8
lea ecx, [esp + 0xcc]
push ecx
mov byte [esp + 0x58c], 0x1b
call fcn.0045b2e6
lea ecx, [esp + 0x78]
mov byte [esp + 0x57c], 0xb
call fcn.0045c770
jmp 0x452633
mov ecx, esi
call fcn.0045adb0
push eax
lea edx, [esp + 0x58]
push 0x4691f0
push edx
call fcn.00457740
add esp, 0xc
mov ecx, eax
mov byte [esp + 0x57c], 0x1c
call fcn.004577e0
push eax
mov ecx, esi
call fcn.0045adb0
imul eax, eax, 0x118
lea ecx, [eax + esi + 0x840]
call fcn.00457980
lea ecx, [esp + 0x54]
mov byte [esp + 0x57c], 0xb
call fcn.004577c0
mov ecx, esi
call fcn.0045adb0
push eax
lea eax, [esp + 0x58]
push 0x4691f0
push eax
call fcn.00457740
add esp, 0xc
mov ecx, eax
mov byte [esp + 0x57c], 0x1d
call fcn.004577e0
push eax
mov ecx, esi
call fcn.0045adb0
imul eax, eax, 0x114
lea ecx, [eax + esi + 0xa5c0]
call fcn.00457980
lea ecx, [esp + 0x54]
mov byte [esp + 0x57c], 0xb
call fcn.004577c0
mov ecx, esi
call fcn.0045adb0
push eax
lea ecx, [esp + 0x58]
push 0x4691f0
push ecx
call fcn.00457740
add esp, 0xc
mov ecx, eax
mov byte [esp + 0x57c], 0x1e
call fcn.004577e0
push eax
mov ecx, esi
call fcn.0045adb0
imul eax, eax, 0x114
lea ecx, [eax + esi + 0x14100]
call fcn.00457980
lea ecx, [esp + 0x54]
mov byte [esp + 0x57c], 0xb
call fcn.004577c0
mov ecx, dword [esp + 0x574]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8