Function at 0x437010
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 0x48a056
mov eax, dword fs:[0]
push eax
sub esp, 0xd38
mov eax, dword [0x4bdbb0]
xor eax, esp
mov dword [esp + 0xd30], eax
push ebx
push esi
push edi
mov eax, dword [0x4bdbb0]
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.00439670
lea ecx, [esp + 0x14]
call fcn.0041f1a0
push 0x216
lea edx, [esp + 0x68]
push 0
push edx
mov dword [esp + 0xd5c], 0
call fcn.00463850
add esp, 0xc
push 0x100000
push 0
push 0
lea ecx, [esp + 0x48]
call fcn.004516d4
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.0042edb0
add esp, 0x24
lea ecx, [esp + 0x3c]
test eax, eax
je 0x437115
mov dword [esp + 0x64], 0x64
call fcn.004517cb
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], eax
call fcn.00451730
mov dword [esp + 0x68], eax
jmp 0x4371e6
call fcn.00451730
test eax, eax
je 0x437127
push eax
call fcn.00463c35
add esp, 4
test ebx, ebx
je 0x43714e
push esi
push 0
push 0xfffffffffffffffc
call ebx
add esp, 0xc
test al, al
jne 0x43714e
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd50], al
call fcn.00451a66
jmp 0x4373ce
xor edx, edx
push 0x208
push edx
lea eax, [esp + 0xb36]
push eax
mov word [esp + 0xb38], dx
call fcn.00463850
push 0
push 0
push 0
push 0
push esi
push ebx
lea ecx, [esp + 0xb50]
push ecx
push edi
call fcn.0042e750
add esp, 0x2c
test eax, eax
jne 0x43719f
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd50], al
call fcn.00451a66
jmp 0x4373ce
test ebx, ebx
je 0x4371c6
push esi
push 0
push 0
call ebx
add esp, 0xc
test al, al
jne 0x4371c6
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd50], al
call fcn.00451a66
jmp 0x4373ce
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.004361c0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd50], 0
call fcn.00451a66
push 0x216
lea edx, [esp + 0x68]
push 0
push edx
call fcn.00463850
push 0x8af
call fcn.00463d12
push 0x8af
mov ebx, eax
push 0
push ebx
call fcn.00463850
mov ecx, 0x22b
lea esi, [esp + 0x298]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push str.CDGOUT
push 0x20100506
push ebx
movsb byte es:[edi], byte [esi]
call fcn.00431720
push 0x20100506
push 0x8af
push ebx
call fcn.004317b0
add esp, 0x34
test eax, eax
je 0x4373ce
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.004361c0
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 0x437388
xor ebx, ebx
cmp esi, eax
jb 0x4372c1
call fcn.00465d0f
mov edi, dword [esp + 0x20]
cmp dword [ebx + edi], 1
je 0x437362
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 0x4372ef
call fcn.00465d0f
mov edi, dword [esp + 0x20]
cmp dword [ebx + edi], 0x64
je 0x437362
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 0x437319
call fcn.00465d0f
mov edi, dword [esp + 0x20]
cmp dword [ebx + edi + 4], 0
je 0x437362
push esi
lea ecx, [esp + 0x18]
call fcn.00432270
cmp dword [eax + 8], 0
je 0x43735e
push 0x20
lea ecx, [esp + 0x464]
push ecx
push esi
lea ecx, [esp + 0x20]
call fcn.00432270
mov edx, dword [eax + 8]
push edx
push esi
lea ecx, [esp + 0x24]
call fcn.00432270
mov eax, dword [eax + 4]
push eax
call fcn.0043a950
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 0x4372c1
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.00435e30
mov eax, dword [ebp + 0xc]
push eax
call fcn.00434d70
add esp, 0x28
mov dword [esp + 0x34], eax
test eax, eax
jne 0x4373ce
push str._UpdateODMFileHeader::UpdateFileRes.
call fcn.00427230
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 0x4374ce
xor ebx, ebx
cmp edi, eax
jb 0x437406
call fcn.00465d0f
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp dword [ebx + esi + 4], 0
je 0x437442
sub ecx, esi
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x43742d
call fcn.00465d0f
mov esi, dword [esp + 0x20]
mov edx, dword [ebx + esi + 4]
push edx
call fcn.00463c35
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 0x437462
call fcn.00465d0f
mov esi, dword [esp + 0x20]
lea ecx, [ebx + esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x4374a2
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 0x437493
call fcn.00465d0f
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 0x437406
xor edi, edi
cmp esi, edi
je 0x4374dd
push esi
call fcn.00440d2e
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.00440d2e
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.004644d0
mov esp, ebp
pop ebp
ret