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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10119538
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x10165034]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x10165034]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
cmp byte [esi + 0x70], 0
mov ebx, dword [ebp + 8]
mov dword [esp + 0x30], ebx
jne 0x10004bab
mov edx, dword [esi]
sub esp, 0x18
push esp
call dword [edx + 0x14]
mov ecx, esi
call fcn.10004960
mov edi, eax
test edi, edi
je 0x10004e30
push ebx
push edi
call fcn.100051a0
xor edx, edx
mov ecx, edi
call fcn.100c7610
add esi, 0x1c
cmp dword [esi + 0x14], 8
jb 0x10004b9f
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x10004e30
mov edi, dword [esi + 0x74]
mov ebx, dword [esi + 0x78]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebx
cmp edi, ebx
je 0x10004e30
lea eax, [esi + 0x64]
mov dword [esp + 0x14], eax
jmp 0x10004bd0
xor eax, eax
mov dword [esp + 0x4c], 7
push 0xffffffffffffffff
push eax
push edi
lea ecx, [esp + 0x44]
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
call fcn.10001d60
lea ecx, [esp + 0x38]
mov dword [esp + 0x78], 0
lea eax, [esi + 0x34]
cmp eax, ecx
je 0x10004c13
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.10001d60
mov eax, dword [esi]
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call dword [eax + 0x24]
mov ecx, eax
mov dword [esp + 0x10], ecx
lea edx, [esi + 0x64]
cmp edx, ecx
je 0x10004cbf
mov esi, dword [edx]
test esi, esi
je 0x10004c9b
mov eax, dword [edx + 4]
mov dword [esp + 0x34], eax
cmp esi, eax
je 0x10004c74
cmp dword [esi + 0x14], 8
jb 0x10004c56
push dword [esi]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov eax, dword [esp + 0x38]
add esp, 4
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
add esi, 0x18
cmp esi, eax
jne 0x10004c41
mov edx, dword [esp + 0x14]
push dword [edx]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov edx, dword [esp + 0x18]
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [esp + 0x78], 0
mov esi, dword [esp + 0x24]
test esi, esi
je 0x10004d31
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
cmp esi, eax
je 0x10004d0b
cmp dword [esi + 0x14], 8
jb 0x10004ced
push dword [esi]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov eax, dword [esp + 0x14]
add esp, 4
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
add esi, 0x18
cmp esi, eax
jne 0x10004cd8
mov esi, dword [esp + 0x24]
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x18]
mov esi, dword [edx]
cmp esi, dword [eax + 0x68]
je 0x10004e01
mov edi, dword [esp + 0x30]
mov ebx, eax
jmp 0x10004d50
xor eax, eax
mov dword [esp + 0x64], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [esp + 0x5c]
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
call fcn.10001d60
sub esp, 0x18
mov byte [esp + 0x90], 2
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esp + 0x70]
push eax
call fcn.10001d60
mov ecx, ebx
call fcn.10004960
mov dword [esp + 0x10], eax
test eax, eax
je 0x10004dd4
push edi
push eax
call fcn.100051a0
mov ecx, dword [esp + 0x10]
xor edx, edx
call fcn.100c7610
cmp dword [ebx + 0x30], 8
lea eax, [ebx + 0x1c]
jb 0x10004dcd
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [esp + 0x78], 0
cmp dword [esp + 0x64], 8
jb 0x10004ded
push dword [esp + 0x50]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
add esi, 0x18
cmp esi, dword [ebx + 0x68]
jne 0x10004d50
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x78], 0xffffffff
cmp dword [esp + 0x4c], 8
jb 0x10004e1d
push dword [esp + 0x38]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [esp + 0x18]
add edi, 0x18
mov dword [esp + 0x1c], edi
cmp edi, ebx
jne 0x10004bd0
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.101176fb
mov esp, ebp
pop ebp
ret 4