Function at 0x485b60
Capabilities:
Delete file
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x519996
mov eax, dword fs:[0]
push eax
sub esp, 0xd38
mov eax, dword [0x56c3c0]
xor eax, esp
mov dword [esp + 0xd30], eax
push ebx
push esi
push edi
mov eax, dword [0x56c3c0]
xor eax, esp
push eax
lea eax, [esp + 0xd48]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0x2c], ecx
mov ecx, 0x22b
lea edi, [esp + 0x27c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0
movsb byte es:[edi], byte [esi]
call fcn.00488210
lea ecx, [esp + 0x14]
call fcn.00484740
push 0x216
lea edx, [esp + 0x68]
push 0
push edx
mov dword [esp + 0xd5c], 0
call fcn.004d5720
add esp, 0xc
push 0x100000
push 0
push 0
lea ecx, [esp + 0x48]
call fcn.004ad272
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x38]
push 0
push 0
push 0
push 0
push 0
push esi
push ebx
lea eax, [esp + 0x58]
push eax
push edi
mov byte [esp + 0xd74], 1
call fcn.00477ac0
add esp, 0x24
lea ecx, [esp + 0x3c]
test eax, eax
je 0x485c65
mov dword [esp + 0x64], 0x64
call fcn.004ad3a6
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], eax
call fcn.004ad30b
mov dword [esp + 0x68], eax
jmp 0x485d36
call fcn.004ad30b
test eax, eax
je 0x485c77
push eax
call fcn.004d5b05
add esp, 4
test ebx, ebx
je 0x485c9e
push esi
push 0
push 0xfffffffffffffffc
call ebx
add esp, 0xc
test al, al
jne 0x485c9e
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd50], al
call fcn.004ad648
jmp 0x485f1e
xor edx, edx
push 0x208
push edx
lea eax, [esp + 0xb36]
push eax
mov word [esp + 0xb38], dx
call fcn.004d5720
push 0
push 0
push 0
push 0
push esi
push ebx
lea ecx, [esp + 0xb50]
push ecx
push edi
call fcn.00477540
add esp, 0x2c
test eax, eax
jne 0x485cef
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd50], al
call fcn.004ad648
jmp 0x485f1e
test ebx, ebx
je 0x485d16
push esi
push 0
push 0
call ebx
add esp, 0xc
test al, al
jne 0x485d16
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd50], al
call fcn.004ad648
jmp 0x485f1e
push 0x104
lea edx, [esp + 0xb30]
push edx
lea eax, [esp + 0x78]
push eax
mov dword [esp + 0x70], 0x64
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x18]
call fcn.00484c60
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd50], 0
call fcn.004ad648
push 0x216
lea edx, [esp + 0x68]
push 0
push edx
call fcn.004d5720
push 0x8af
call fcn.004d5c5c
push 0x8af
mov ebx, eax
push 0
push ebx
call fcn.004d5720
mov ecx, 0x22b
lea esi, [esp + 0x298]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x52c840
push 0x20100506
push ebx
movsb byte es:[edi], byte [esi]
call fcn.0047d810
push 0x20100506
push 0x8af
push ebx
call fcn.0047d8a0
add esp, 0x34
test eax, eax
je 0x485f1e
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x68], 1
mov dword [esp + 0x70], 0x8af
mov dword [esp + 0x6c], ebx
call fcn.00484c60
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
sub ecx, edi
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
xor esi, esi
add eax, edx
je 0x485ed8
xor ebx, ebx
cmp esi, eax
jb 0x485e11
call fcn.004d84ce
mov edi, dword [esp + 0x20]
cmp dword [ebx + edi], 1
je 0x485eb2
mov ecx, dword [esp + 0x24]
sub ecx, edi
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp esi, ecx
jb 0x485e3f
call fcn.004d84ce
mov edi, dword [esp + 0x20]
cmp dword [ebx + edi], 0x64
je 0x485eb2
mov ecx, dword [esp + 0x24]
sub ecx, edi
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x485e69
call fcn.004d84ce
mov edi, dword [esp + 0x20]
cmp dword [ebx + edi + 4], 0
je 0x485eb2
push esi
lea ecx, [esp + 0x18]
call fcn.0047e590
cmp dword [eax + 8], 0
je 0x485eae
push 0x20
lea ecx, [esp + 0x464]
push ecx
push esi
lea ecx, [esp + 0x20]
call fcn.0047e590
mov edx, dword [eax + 8]
push edx
push esi
lea ecx, [esp + 0x24]
call fcn.0047e590
mov eax, dword [eax + 4]
push eax
call fcn.004897b0
add esp, 0x10
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
sub ecx, edi
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
add ebx, 0x216
cmp esi, eax
jb 0x485e11
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
push ecx
push edx
lea eax, [esp + 0x468]
push eax
sub esp, 0x18
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
call fcn.004847a0
mov eax, dword [ebp + 0xc]
push eax
call fcn.00483470
add esp, 0x28
mov dword [esp + 0x34], eax
test eax, eax
jne 0x485f1e
push str._UpdateODMFileHeader::UpdateFileRes.
call fcn.00468970
add esp, 4
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov edx, ecx
sub edx, esi
mov eax, 0x7aba01eb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x48601e
xor ebx, ebx
cmp edi, eax
jb 0x485f56
call fcn.004d84ce
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp dword [ebx + esi + 4], 0
je 0x485f92
sub ecx, esi
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x485f7d
call fcn.004d84ce
mov esi, dword [esp + 0x20]
mov edx, dword [ebx + esi + 4]
push edx
call fcn.004d5b05
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
add esp, 4
sub ecx, esi
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x485fb2
call fcn.004d84ce
mov esi, dword [esp + 0x20]
lea ecx, [ebx + esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x485ff2
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 edi, eax
jb 0x485fe3
call fcn.004d84ce
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 esi, dword [esp + 0x20]
mov edx, ecx
sub edx, esi
mov eax, 0x7aba01eb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
add ebx, 0x216
cmp edi, eax
jb 0x485f56
xor edi, edi
cmp esi, edi
je 0x48602d
push esi
call fcn.004910f4
add esp, 4
mov eax, dword [esp + 0x14]
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.004910f4
mov eax, dword [esp + 0x38]
add esp, 4
mov ecx, dword [esp + 0xd48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd30]
xor ecx, esp
call fcn.004d6555
mov esp, ebp
pop ebp
ret