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

Disassembly:
push 0xffffffffffffffff
push 0x471e5b
mov eax, dword fs:[0]
push eax
sub esp, 0x244
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49ab20]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
push str.DisengageODMFileHeader_begin
call fcn.00414dc0
xor ebp, ebp
add esp, 4
mov dword [esp + 0x30], ebp
call fcn.00424af0
lea ecx, [esp + 0x14]
call fcn.0040fbe0
mov dword [esp + 0x260], ebp
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], 3
mov dword [esp + 0x3c], 4
xor esi, esi
nop
push 0x216
lea eax, [esp + 0x44]
push ebp
push eax
call fcn.00451660
mov ecx, dword [esp + esi*4 + 0x40]
add esp, 0xc
lea edx, [esp + 0x40]
mov dword [esp + 0x40], ecx
push edx
lea ecx, [esp + 0x18]
call fcn.004221f0
inc esi
cmp esi, 3
jb 0x422ec0
push str.DisengageODMFileHeader_2
call fcn.00414dc0
mov ecx, dword [esp + 0x26c]
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.0041ffa0
add esp, 0xc
test eax, eax
jne 0x422f43
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x422f23
push eax
call fcn.0042eb59
add esp, 4
mov edx, dword [esp + 0x14]
push edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call fcn.0042eb59
add esp, 4
xor eax, eax
jmp 0x42342d
push str.DisengageODMFileHeader_3
call fcn.00414dc0
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov edx, ecx
sub edx, edi
mov eax, 0x7aba01eb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add esp, 4
xor ebx, ebx
add eax, edx
je 0x423307
xor esi, esi
cmp ebx, eax
jb 0x422f88
call fcn.004533f0
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov edx, ecx
sub edx, edi
mov eax, 0x7aba01eb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esi + edi], 1
je 0x422fb3
inc ebx
add esi, 0x216
cmp ebx, eax
jb 0x422f88
jmp 0x423307
cmp ebx, eax
jb 0x422fc4
call fcn.004533f0
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
sub ecx, edi
mov eax, 0x7aba01eb
imul ecx
mov esi, ebx
imul esi, esi, 0x216
mov ebp, dword [esi + edi + 4]
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x2c], ebp
cmp ebx, ecx
jb 0x422ff4
call fcn.004533f0
mov edi, dword [esp + 0x20]
mov esi, dword [esi + edi + 8]
push 1
push 0x20100506
push esi
push ebp
call fcn.0041fad0
add esp, 0x10
test eax, eax
je 0x4232fd
test ebp, ebp
je 0x4232fd
push str.DisengageODMFileHeader_4
call fcn.00414dc0
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, edi
sub edx, ecx
mov eax, 0x7aba01eb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add esp, 4
xor ebx, ebx
add eax, edx
je 0x42318d
xor esi, esi
cmp ebx, eax
jb 0x42305e
call fcn.004533f0
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
cmp dword [esi + ecx], 1
je 0x423165
mov edx, edi
sub edx, ecx
mov eax, 0x7aba01eb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x42308e
call fcn.004533f0
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
cmp dword [esi + ecx], 0x64
je 0x423165
mov edx, edi
sub edx, ecx
mov eax, 0x7aba01eb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x4230be
call fcn.004533f0
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
cmp dword [esi + ecx + 4], 0
je 0x423165
mov edx, edi
sub edx, ecx
mov eax, 0x7aba01eb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x4230ef
call fcn.004533f0
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
cmp dword [esi + ecx + 8], 0
je 0x423165
mov edx, edi
sub edx, ecx
mov eax, 0x7aba01eb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x42311c
call fcn.004533f0
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
sub edi, ecx
mov eax, 0x7aba01eb
imul edi
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ebp, [esi + ecx]
cmp ebx, eax
jb 0x42313f
call fcn.004533f0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov eax, dword [ebp + 8]
mov ecx, dword [esi + ecx + 4]
push 0x20
add edx, 0x1e4
push edx
push eax
push ecx
call fcn.00425e20
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
add esp, 0x10
mov edx, edi
sub edx, ecx
mov eax, 0x7aba01eb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
add esi, 0x216
cmp ebx, eax
jb 0x42305e
mov ebp, dword [esp + 0x2c]
mov edx, edi
sub edx, ecx
mov eax, 0x7aba01eb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
xor ebx, ebx
add eax, edx
je 0x4232d7
xor esi, esi
cmp ebx, eax
jb 0x4231bd
call fcn.004533f0
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + ecx]
sub eax, 3
je 0x42323a
sub eax, 1
jne 0x4232af
mov edx, edi
sub edx, ecx
mov eax, 0x7aba01eb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x4231f4
call fcn.004533f0
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
sub edi, ecx
mov eax, 0x7aba01eb
imul edi
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ebp, [esi + ecx]
cmp ebx, eax
jb 0x423217
call fcn.004533f0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x274]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + ecx + 4]
push edx
mov edx, dword [eax + 0x6a9]
mov eax, dword [ebp + 8]
push edx
push eax
push ecx
call fcn.004224e0
jmp 0x4232a4
mov edx, edi
sub edx, ecx
mov eax, 0x7aba01eb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x423260
call fcn.004533f0
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
sub edi, ecx
mov eax, 0x7aba01eb
imul edi
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ebp, [esi + ecx]
cmp ebx, eax
jb 0x423283
call fcn.004533f0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x270]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + ecx + 4]
push edx
mov edx, dword [eax + 0x6a5]
mov eax, dword [ebp + 8]
push edx
push eax
push ecx
call fcn.00422400
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
add esp, 0x10
mov edx, edi
sub edx, ecx
mov eax, 0x7aba01eb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
add esi, 0x216
cmp ebx, eax
jb 0x4231bd
mov ebp, dword [esp + 0x2c]
push str.DisengageODMFileHeader_5
call fcn.00414dc0
mov edi, dword [esp + 0x270]
mov ecx, 0x22b
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
add esp, 4
movsb byte es:[edi], byte [esi]
mov dword [esp + 0x30], 1
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
xor ebp, ebp
mov edx, ecx
sub edx, edi
mov eax, 0x7aba01eb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
xor esi, esi
add eax, edx
je 0x423403
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ebx, ebx
cmp esi, eax
jb 0x42333d
call fcn.004533f0
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
cmp dword [ebx + edi + 4], 0
je 0x423379
sub ecx, edi
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x423364
call fcn.004533f0
mov edi, dword [esp + 0x20]
mov ecx, dword [ebx + edi + 4]
push ecx
call fcn.00451a45
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
add esp, 4
sub ecx, edi
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x423399
call fcn.004533f0
mov edi, dword [esp + 0x20]
lea ecx, [ebx + edi + 0xc]
push ecx
call ebp
test eax, eax
je 0x4233d5
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x20]
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4233c6
call fcn.004533f0
mov ecx, dword [esp + 0x20]
lea edx, [ebx + ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov edx, ecx
sub edx, edi
mov eax, 0x7aba01eb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
add ebx, 0x216
cmp esi, eax
jb 0x42333d
xor ebp, ebp
cmp edi, ebp
je 0x423410
push edi
call fcn.0042eb59
add esp, 4
mov eax, dword [esp + 0x14]
push eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call fcn.0042eb59
mov eax, dword [esp + 0x34]
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