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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48a09b
mov eax, dword fs:[0]
push eax
sub esp, 0xaf0
mov eax, dword [0x4bdbb0]
xor eax, esp
mov dword [esp + 0xae8], eax
push ebx
push esi
push edi
mov eax, dword [0x4bdbb0]
xor eax, esp
push eax
lea eax, [esp + 0xb00]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov ecx, 0x22b
lea edi, [esp + 0x244]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor ebx, ebx
mov dword [esp + 0x28], ebx
movsb byte es:[edi], byte [esi]
call fcn.00439670
lea ecx, [esp + 0x10]
call fcn.0041f1a0
push 0x216
lea eax, [esp + 0x30]
push ebx
push eax
mov dword [esp + 0xb14], ebx
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 + 0x260]
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 0x437770
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 1
mov dword [esp + 0x38], 0x8af
mov dword [esp + 0x34], ebx
call fcn.004361c0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
sub edx, ecx
mov eax, 0x7aba01eb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
xor esi, esi
add eax, edx
je 0x437730
xor edi, edi
cmp esi, eax
jb 0x43764a
call fcn.00465d0f
mov ecx, dword [esp + 0x1c]
cmp dword [edi + ecx], 1
je 0x43770a
mov edx, dword [esp + 0x20]
sub edx, ecx
mov eax, 0x7aba01eb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x437678
call fcn.00465d0f
mov ecx, dword [esp + 0x1c]
cmp dword [edi + ecx], 0x64
je 0x43770a
mov edx, dword [esp + 0x20]
sub edx, ecx
mov eax, 0x7aba01eb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4376a6
call fcn.00465d0f
mov ecx, dword [esp + 0x1c]
cmp dword [edi + ecx + 4], 0
je 0x43770a
mov edx, dword [esp + 0x20]
sub edx, ecx
mov eax, 0x7aba01eb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4376d1
call fcn.00465d0f
mov ecx, dword [esp + 0x1c]
cmp dword [edi + ecx + 8], 0
je 0x43770a
push 0x20
lea ecx, [esp + 0x42c]
push ecx
push esi
lea ecx, [esp + 0x1c]
call fcn.00432270
mov edx, dword [eax + 8]
push edx
push esi
lea ecx, [esp + 0x20]
call fcn.00432270
mov eax, dword [eax + 4]
push eax
call fcn.0043a950
mov ecx, dword [esp + 0x2c]
add esp, 0x10
mov edx, dword [esp + 0x20]
sub edx, ecx
mov eax, 0x7aba01eb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
add edi, 0x216
cmp esi, eax
jb 0x43764a
push 0
push 0
lea ecx, [esp + 0x430]
push ecx
sub esp, 0x18
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call fcn.00435e30
mov eax, dword [ebp + 8]
push eax
call fcn.00434d70
add esp, 0x28
mov dword [esp + 0x28], eax
test eax, eax
jne 0x437770
push str._UpdateODMFileHeader::UpdateFileRes.
call fcn.00427230
add esp, 4
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
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 0x437870
xor ebx, ebx
cmp edi, eax
jb 0x4377a8
call fcn.00465d0f
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp dword [ebx + esi + 4], 0
je 0x4377e4
sub ecx, esi
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x4377cf
call fcn.00465d0f
mov esi, dword [esp + 0x1c]
mov edx, dword [ebx + esi + 4]
push edx
call fcn.00463c35
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
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 0x437804
call fcn.00465d0f
mov esi, dword [esp + 0x1c]
lea ecx, [ebx + esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x437844
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x1c]
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x437835
call fcn.00465d0f
mov ecx, dword [esp + 0x1c]
lea edx, [ebx + ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
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 0x4377a8
xor edi, edi
cmp esi, edi
je 0x43787f
push esi
call fcn.00440d2e
add esp, 4
mov eax, dword [esp + 0x10]
push eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call fcn.00440d2e
mov eax, dword [esp + 0x2c]
add esp, 4
mov ecx, dword [esp + 0xb00]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xae8]
xor ecx, esp
call fcn.004644d0
mov esp, ebp
pop ebp
ret