Function at 0x444830
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x460a50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
mov dword [esi], 0x4692e0
mov dword [esp + 0x2c], 8
call fcn.0045adb0
test eax, eax
jge 0x444932
lea edi, [esi + 0x160]
push 0x1fff
mov ecx, edi
call fcn.00440940
push 0
mov ecx, edi
call fcn.00440a20
mov eax, dword [esi + 0x2ec]
test eax, eax
je 0x4448a1
push 0
push eax
call dword [sym.imp.RTX_RTSS.SYS_TerminateThread]
mov ebx, dword [sym.imp.RTX_RTSS.SYS_GetLastError]
xor edi, edi
lea ebp, [esi + 0x2f0]
nop
mov eax, dword [ebp]
test eax, eax
je 0x444924
push eax
call dword [sym.imp.RTX_RTSS.SYS_RtFreeContiguousMemory]
test eax, eax
jne 0x444924
call ebx
push eax
mov eax, dword [ebp]
push eax
mov ecx, esi
call fcn.0045ada0
lea ecx, [edi + eax*2]
add ecx, eax
push ecx
mov ecx, esi
call fcn.0045ada0
push eax
lea edx, [esp + 0x28]
push str.XiODeviceVision__d_Drive__d___could_not_free_to_the_contiguous_memory_0x_08X___error__d_
push edx
call fcn.00457740
add esp, 0x18
mov ecx, eax
mov byte [esp + 0x2c], 9
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 + 0x18]
mov byte [esp + 0x2c], 8
call fcn.004577c0
inc edi
add ebp, 4
cmp edi, 3
jl 0x4448b0
jmp 0x4449e6
mov ecx, esi
call fcn.0045adb0
cdq
mov ecx, 3
idiv ecx
cmp dword [esi + edx*4 + 0x2f0], 0
je 0x4449e6
mov ecx, esi
call fcn.0045adb0
cdq
mov ecx, 3
idiv ecx
mov edx, dword [esi + edx*4 + 0x2f0]
push edx
call dword [sym.imp.RTX_RTSS.SYS_RtUnmapMemory]
test eax, eax
jne 0x4449e6
mov ecx, esi
call fcn.0045adb0
cdq
mov ecx, 3
idiv ecx
mov edi, edx
call dword [sym.imp.RTX_RTSS.SYS_GetLastError]
mov edx, dword [esi + edi*4 + 0x2f0]
push eax
push edx
mov ecx, esi
call fcn.0045adb0
push eax
mov ecx, esi
call fcn.0045ada0
push eax
lea eax, [esp + 0x28]
push str.XiODeviceVision__d_Drive__d___could_not_unmap_to_the_contiguous_memory_0x_08X___error__d_
push eax
call fcn.00457740
add esp, 0x18
mov ecx, eax
mov byte [esp + 0x2c], 0xa
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 + 0x18]
mov byte [esp + 0x2c], 8
call fcn.004577c0
push 0x4475d0
push 3
push 0x114
lea ecx, [esi + 0xdc4]
push ecx
mov byte [esp + 0x3c], 7
call fcn.0045b2e6
push 0x4475d0
push 3
push 0x114
lea edx, [esi + 0xa88]
push edx
mov byte [esp + 0x3c], 6
call fcn.0045b2e6
push 0x4475d0
push 3
push 0x114
lea eax, [esi + 0x74c]
push eax
mov byte [esp + 0x3c], 5
call fcn.0045b2e6
push 0x4475d0
push 3
push 0x114
lea ecx, [esi + 0x410]
push ecx
mov byte [esp + 0x3c], 4
call fcn.0045b2e6
lea ecx, [esi + 0x2fc]
mov byte [esp + 0x2c], 3
call fcn.00458880
lea ecx, [esi + 0x1d0]
mov byte [esp + 0x2c], 2
call fcn.00458a50
push fcn.00417eb0
push 3
push 0x10
lea edx, [esi + 0x1a0]
push edx
mov byte [esp + 0x3c], 1
call fcn.0045b2e6
push fcn.00417eb0
push 3
push 0x10
lea eax, [esi + 0x170]
push eax
mov byte [esp + 0x3c], 0
call fcn.0045b2e6
mov ecx, esi
mov dword [esp + 0x2c], 0xffffffff
call fcn.0043ead0
mov ecx, dword [esp + 0x24]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret