Function at 0x486410
Capabilities:
Delete file
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x519a1b
mov eax, dword fs:[0]
push eax
sub esp, 0x244
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56c3c0]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
push str.DisengageODMFileHeader_begin
call fcn.00468970
xor esi, esi
add esp, 4
mov dword [esp + 0x14], esi
mov dword [esp + 0x30], esi
call fcn.00488210
lea ecx, [esp + 0x18]
call fcn.00484740
mov dword [esp + 0x260], esi
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], 3
mov dword [esp + 0x3c], 4
xor edi, edi
push 0x216
lea eax, [esp + 0x44]
push esi
push eax
call fcn.004d5720
mov ecx, dword [esp + edi*4 + 0x40]
add esp, 0xc
lea edx, [esp + 0x40]
mov dword [esp + 0x40], ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.00484c60
inc edi
cmp edi, 3
jb 0x486483
mov edx, dword [esp + 0x268]
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x27c]
lea ecx, [esp + 0x1c]
push ecx
push edx
push eax
call fcn.00483a30
add esp, 0x10
test eax, eax
je 0x4867c6
cmp dword [esp + 0x30], esi
je 0x4867c6
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov ecx, ebp
sub ecx, ebx
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x486651
cmp edi, eax
jb 0x48651c
call fcn.004d84ce
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
cmp dword [esi + ebx], 1
je 0x48662b
mov ecx, ebp
sub ecx, ebx
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x48654c
call fcn.004d84ce
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
cmp dword [esi + ebx], 0x64
je 0x48662b
mov ecx, ebp
sub ecx, ebx
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x48657c
call fcn.004d84ce
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
cmp dword [esi + ebx + 4], 0
je 0x48662b
mov ecx, ebp
sub ecx, ebx
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x4865ad
call fcn.004d84ce
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
cmp dword [esi + ebx + 8], 0
je 0x48662b
mov ecx, ebp
sub ecx, ebx
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4865da
call fcn.004d84ce
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
sub ebp, ebx
mov eax, 0x7aba01eb
imul ebp
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [esi + ebx]
mov dword [esp + 0x14], ecx
cmp edi, eax
jb 0x486601
call fcn.004d84ce
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 8]
push 0x20
add ecx, 0x1e4
push ecx
mov ecx, dword [esi + ebx + 4]
push eax
push ecx
call fcn.004897b0
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
add esp, 0x10
mov ecx, ebp
sub ecx, ebx
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
add esi, 0x216
cmp edi, eax
jb 0x48651c
xor esi, esi
mov ecx, ebp
sub ecx, ebx
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x4867a5
cmp edi, eax
jb 0x48667f
call fcn.004d84ce
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov eax, dword [esi + ebx]
sub eax, 3
je 0x486704
sub eax, 1
jne 0x486781
mov ecx, ebp
sub ecx, ebx
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4866b6
call fcn.004d84ce
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
sub ebp, ebx
mov eax, 0x7aba01eb
imul ebp
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [esi + ebx]
mov dword [esp + 0x14], ecx
cmp edi, eax
jb 0x4866dd
call fcn.004d84ce
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x274]
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x6ab]
push ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 8]
push eax
mov eax, dword [esi + ebx + 4]
push edx
push eax
call fcn.00485000
jmp 0x486776
mov ecx, ebp
sub ecx, ebx
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x48672a
call fcn.004d84ce
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
lea edx, [esi + ebx]
sub ebp, ebx
mov dword [esp + 0x14], edx
mov eax, 0x7aba01eb
imul ebp
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x486751
call fcn.004d84ce
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x270]
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x6a7]
push ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 8]
push eax
mov eax, dword [esi + ebx + 4]
push edx
push eax
call fcn.00484f20
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
add esp, 0x10
mov ecx, ebp
sub ecx, ebx
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
add esi, 0x216
cmp edi, eax
jb 0x48667f
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x26c]
mov ecx, 0x22b
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov dword [esp + 0x14], 1
xor esi, esi
jmp 0x4867ce
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov ecx, ebp
sub ecx, ebx
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x4868c6
cmp edi, eax
jb 0x4867fc
call fcn.004d84ce
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
cmp dword [esi + ebx + 4], 0
je 0x486838
sub ebp, ebx
mov eax, 0x7aba01eb
imul ebp
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x486823
call fcn.004d84ce
mov ebx, dword [esp + 0x24]
mov edx, dword [esi + ebx + 4]
push edx
call fcn.004d5b05
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
add esp, 4
sub ebp, ebx
mov eax, 0x7aba01eb
imul ebp
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x486858
call fcn.004d84ce
mov ebx, dword [esp + 0x24]
lea ecx, [esi + ebx + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x486898
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x24]
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x486889
call fcn.004d84ce
mov ecx, dword [esp + 0x24]
lea edx, [esi + ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov ecx, ebp
sub ecx, ebx
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
add esi, 0x216
cmp edi, eax
jb 0x4867fc
xor esi, esi
cmp ebx, esi
je 0x4868d3
push ebx
call fcn.004910f4
add esp, 4
mov eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call fcn.004910f4
mov eax, dword [esp + 0x18]
add esp, 4
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x250
ret