Function at 0x434d70
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x489e68
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x4bdbb0]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bdbb0]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
xor esi, esi
push esi
push eax
mov dword [esp + 0x98], esi
lea ebx, [esi + 1]
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov dword [esp + 0x28], eax
cmp eax, esi
jne 0x434e1b
mov eax, dword [esp + 0xa8]
cmp eax, esi
je 0x434e01
push eax
call fcn.00440d2e
add esp, 4
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], esi
jmp 0x4352f8
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0xac]
mov esi, dword [esp + 0xa8]
mov ecx, edi
sub ecx, esi
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
cmp dword [esp + 0x20], ebp
jge 0x435227
xor eax, eax
push 0x3e
push eax
lea ecx, [esp + 0x4e]
push ecx
mov word [esp + 0x50], ax
call fcn.00463850
mov ebx, dword [esp + 0x2c]
add esp, 0xc
cmp ebx, ebp
jb 0x434e82
call fcn.00465d0f
mov edi, dword [esp + 0xac]
mov esi, dword [esp + 0xa8]
mov ebp, dword [esp + 0x14]
cmp dword [esi + ebp], 0x64
mov eax, 0x7aba01eb
jne 0x435151
mov ecx, edi
sub ecx, esi
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x434ebc
call fcn.00465d0f
mov edi, dword [esp + 0xac]
mov esi, dword [esp + 0xa8]
mov ecx, dword [esi + ebp + 4]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov ecx, edi
sub ecx, esi
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x434efa
call fcn.00465d0f
mov edi, dword [esp + 0xac]
mov esi, dword [esp + 0xa8]
mov ebp, dword [esi + ebp + 8]
mov ecx, edi
sub ecx, esi
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebx, ecx
jb 0x434f2a
call fcn.00465d0f
mov edi, dword [esp + 0xac]
mov esi, dword [esp + 0xa8]
mov edx, dword [esp + 0x14]
cmp dword [edx + esi + 4], 0
jne 0x435109
mov ecx, edi
sub ecx, esi
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x434f65
call fcn.00465d0f
mov edi, dword [esp + 0xac]
mov esi, dword [esp + 0xa8]
mov ecx, dword [esp + 0x14]
cmp dword [ecx + esi + 8], 0
jne 0x435109
sub edi, esi
mov eax, 0x7aba01eb
imul edi
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x24], 1
cmp ebx, eax
jb 0x434f9f
call fcn.00465d0f
mov esi, dword [esp + 0xa8]
mov ecx, dword [esp + 0x14]
lea edx, [ecx + esi + 0xc]
push edx
call fcn.00431510
push 0x4000000
mov ebp, eax
call fcn.00463d12
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
jne 0x434fe3
push 0x4000000
call fcn.00463d12
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x4352ab
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x435000
mov ecx, dword [esp + 0x34]
push ecx
push ebp
push 0xffffffffffffffff
call eax
add esp, 0xc
test al, al
je 0x4352ab
mov edx, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x48]
push str.DOC_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
cmp dword [esp + 0x24], 0
jne 0x435025
mov ecx, dword [esp + 0x1c]
add edi, ecx
cmp ebp, 0x4000000
mov esi, 0x4000000
jge 0x435034
mov esi, ebp
cmp dword [esp + 0x24], 0
je 0x435099
mov ecx, dword [esp + 0xac]
sub ecx, dword [esp + 0xa8]
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x38], 0
cmp ebx, eax
jb 0x43506b
call fcn.00465d0f
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0xac]
push edi
push esi
push 0
push edx
lea edx, [eax + ecx + 0xc]
push edx
call fcn.004315f0
add esp, 0x18
test eax, eax
je 0x43512a
mov eax, dword [esp + 0x40]
push 0x20
push eax
push esi
push edi
call fcn.0043a950
mov edx, dword [esp + 0x38]
add esp, 0x10
push esi
push edi
push 0
lea ecx, [esp + 0x50]
push ecx
push str.DATA
push edx
call dword [sym.imp.KERNEL32.dll_UpdateResourceW]
mov ebx, eax
test ebx, ebx
je 0x435116
mov eax, dword [esp + 0x30]
inc dword [esp + 0x2c]
add dword [esp + 0x1c], 0x4000000
sub ebp, 0x4000000
test eax, eax
je 0x4350f8
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
push ecx
push edx
push 0
call eax
add esp, 0xc
test al, al
je 0x43512a
test ebp, ebp
jle 0x43512c
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
jmp 0x435000
mov dword [esp + 0x24], 0
jmp 0x434fdf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._UpdateResource_1_Error_:__d
call fcn.00427230
add esp, 8
xor ebx, ebx
cmp dword [esp + 0x24], 0
je 0x435213
mov eax, dword [esp + 0x18]
test eax, eax
je 0x435213
push eax
call fcn.00463c35
add esp, 4
jmp 0x435213
sub edi, esi
imul edi
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x43516f
call fcn.00465d0f
mov esi, dword [esp + 0xa8]
mov ecx, dword [esi + ebp]
push ecx
lea edx, [esp + 0x48]
push str.RES_d
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
mov edi, dword [esp + 0xb8]
mov esi, dword [esp + 0xb4]
mov ecx, edi
sub ecx, esi
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
add esp, 0xc
cmp ebx, eax
jb 0x4351c0
call fcn.00465d0f
mov edi, dword [esp + 0xac]
mov esi, dword [esp + 0xa8]
sub edi, esi
mov eax, 0x7aba01eb
imul edi
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add ebp, esi
cmp ebx, ecx
jb 0x4351e5
call fcn.00465d0f
mov esi, dword [esp + 0xa8]
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + esi + 4]
mov eax, dword [esp + 0x28]
push edx
push ecx
push 0
lea edx, [esp + 0x50]
push edx
push str.DATA
push eax
call dword [sym.imp.KERNEL32.dll_UpdateResourceW]
mov ebx, eax
test ebx, ebx
je 0x4352b2
inc dword [esp + 0x20]
add dword [esp + 0x14], 0x216
test ebx, ebx
jne 0x434e23
xor edi, edi
mov edx, dword [esp + 0x28]
xor ecx, ecx
cmp ebx, edi
sete cl
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceW]
mov esi, eax
cmp esi, edi
jne 0x435256
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.UpdateFileRes_EndUpdateResource_Error:__d.
call fcn.00427230
add esp, 8
mov eax, dword [esp + 0x3c]
push eax
call fcn.00434b10
add esp, 4
cmp ebx, edi
je 0x4352cf
cmp esi, edi
je 0x4352cf
mov eax, dword [esp + 0xa8]
cmp eax, edi
je 0x43527f
push eax
call fcn.00440d2e
add esp, 4
mov ecx, dword [esp + 0x9c]
push ecx
mov dword [esp + 0xac], edi
mov dword [esp + 0xb0], edi
mov dword [esp + 0xb4], edi
call fcn.00440d2e
add esp, 4
mov eax, 1
jmp 0x43530a
xor ebx, ebx
jmp 0x435227
xor edi, edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._UpdateResource_2_Error_:__d
call fcn.00427230
add esp, 8
jmp 0x435229
mov eax, dword [esp + 0xa8]
cmp eax, edi
je 0x4352e3
push eax
call fcn.00440d2e
add esp, 4
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], edi
mov dword [esp + 0xb0], edi
mov edx, dword [esp + 0x9c]
push edx
call fcn.00440d2e
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004644d0
add esp, 0x80
ret