Function at 0x430e50
Capabilities:
Access peb ldr_data
Get number of processors
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x401806
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401688
xor eax, eax
xor edi, edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x2c], eax
mov eax, dword [0x437648]
cmp eax, edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], edi
jne 0x430eae
push 0x437648
push 0x4095e0
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x437648]
lea edx, [ebp - 0x4c]
push edx
push esi
mov ecx, dword [esi]
call dword [ecx + 0x14]
cmp eax, edi
fnclex
jge 0x430ed3
push 0x14
push 0x4095d0
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x40]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x58]
cmp eax, edi
fnclex
jge 0x430ef7
push 0x58
push 0x409bb8
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x40]
push eax
push 0x409bcc
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x48]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
push 0xffffffffffffffff
push edi
call fcn.00408abc
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 0x50], eax
call edi
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x48]
mov dword [ebp - 0x3c], edx
lea ecx, [ebp - 0x44]
push eax
lea edx, [ebp - 0x40]
push ecx
push edx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
add esp, 0x10
lea ecx, [ebp - 0x4c]
call ebx
call dword [sym.imp.MSVBVM60.DLL_rtcErrObj]
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov esi, eax
lea edx, [ebp - 0x50]
push edx
push esi
mov ecx, dword [esi]
call dword [ecx + 0x4c]
test eax, eax
fnclex
jge 0x430f8a
push 0x4c
push 0x409bd8
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edx, dword [ebp - 0x50]
xor eax, eax
cmp edx, 0xb7
lea ecx, [ebp - 0x4c]
sete al
neg eax
mov esi, eax
call ebx
test si, si
jne 0x430fc9
mov edx, dword [ebp - 0x3c]
push 0
push 0
push 0
lea ecx, [ebp - 0x30]
push 0
or eax, 0xffffffff
push ecx
push edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
call fcn.00408b54
mov dword [ebp - 0x50], eax
call edi
fld qword [0x401680]
fstp qword [ebp - 0x38]
fnstsw ax
test al, 0xd
jne 0x43115d
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
fild dword [eax]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
fmul qword [0x401678]
fmul qword [0x401670]
fstp qword [ebp - 0x1c]
fnstsw ax
test al, 0xd
jne 0x43115d
fld qword [ebp - 0x1c]
cmp dword [section..data], 0
jne 0x431017
fdiv qword [ebp - 0x38]
jmp 0x431022
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x43115d
call esi
fld qword [ebp - 0x1c]
cmp dword [section..data], 0
jne 0x43103f
fdiv qword [ebp - 0x38]
jmp 0x43104a
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call sub.MSVBVM60.DLL__adj_fdiv_m64
or ecx, 0xffffffff
sub ecx, eax
jo 0x431162
mov dword [ebp - 0x2c], ecx
fnstsw ax
test al, 0xd
jne 0x43115d
fstp qword [ebp - 0x74]
fld qword [ebp - 0x1c]
cmp dword [section..data], 0
jne 0x431076
fdiv qword [ebp - 0x38]
jmp 0x431081
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x43115d
call dword [sym.imp.MSVBVM60.DLL___vbaFPFix]
fsubr qword [ebp - 0x74]
fld qword [ebp - 0x38]
fchs
fmulp st(1)
fstp qword [ebp - 0x28]
fnstsw ax
test al, 0xd
jne 0x43115d
fld qword [ebp - 0x28]
fcomp qword [0x401668]
fnstsw ax
test ah, 1
je 0x4310cb
fld qword [ebp - 0x38]
fadd qword [ebp - 0x28]
fstp qword [ebp - 0x28]
fnstsw ax
test al, 0xd
jne 0x43115d
fld qword [ebp - 0x28]
call esi
push 0
push 0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x3c]
push 0
lea edx, [ebp - 0x30]
push 0
push edx
push eax
call fcn.00408b54
mov dword [ebp - 0x50], eax
call edi
mov ebx, dword [sym.imp.MSVBVM60.DLL_rtcDoEvents]
push 0xff
push 0xffffffffffffffff
lea ecx, [ebp - 0x3c]
push 0
push ecx
push 1
call fcn.00408c8c
mov dword [ebp - 0x50], eax
call edi
mov esi, dword [ebp - 0x50]
call ebx
test esi, esi
jne 0x4310f3
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00408be0
call edi
wait
push 0x43114a
jmp 0x431149
ret
jmp 0x40180c
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
sub esp, 0xc
push 0x401806
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x401698
mov esi, dword [ebp + 8]
mov eax, esi
and eax, 1
mov dword [ebp - 4], eax
and esi, 0xfffffffe
push esi
mov dword [ebp + 8], esi
mov ecx, dword [esi]
call dword [ecx + 4]
mov edx, dword [esi + 0x44]
mov dword [edx], 1
mov eax, dword [esi + 0x44]
mov dword [eax + 4], 3
mov ecx, dword [esi + 0x44]
mov dword [ecx + 8], 7
mov edx, dword [esi + 0x44]
mov dword [edx + 0xc], 0xf
mov eax, dword [esi + 0x44]
mov dword [eax + 0x10], 0x1f
mov ecx, dword [esi + 0x44]
mov dword [ecx + 0x14], 0x3f
mov edx, dword [esi + 0x44]
mov dword [edx + 0x18], 0x7f
mov eax, dword [esi + 0x44]
mov dword [eax + 0x1c], 0xff
mov ecx, dword [esi + 0x44]
mov dword [ecx + 0x20], 0x1ff
mov edx, dword [esi + 0x44]
mov dword [edx + 0x24], 0x3ff
mov eax, dword [esi + 0x44]
mov dword [eax + 0x28], 0x7ff
mov ecx, dword [esi + 0x44]
mov dword [ecx + 0x2c], 0xfff
mov edx, dword [esi + 0x44]
mov dword [edx + 0x30], 0x1fff
mov eax, dword [esi + 0x44]
mov dword [eax + 0x34], 0x3fff
mov ecx, dword [esi + 0x44]
mov dword [ecx + 0x38], 0x7fff
mov edx, dword [esi + 0x44]
mov dword [edx + 0x3c], 0xffff
mov eax, dword [esi + 0x44]
mov dword [eax + 0x40], 0x1ffff
mov ecx, dword [esi + 0x44]
mov dword [ecx + 0x44], 0x3ffff
mov edx, dword [esi + 0x44]
mov dword [edx + 0x48], 0x7ffff
mov eax, dword [esi + 0x44]
mov dword [eax + 0x4c], 0xfffff
mov ecx, dword [esi + 0x44]
mov dword [ecx + 0x50], 0x1fffff
mov edx, dword [esi + 0x44]
mov dword [edx + 0x54], 0x3fffff
mov eax, dword [esi + 0x44]
mov dword [eax + 0x58], 0x7fffff
mov ecx, dword [esi + 0x44]
mov dword [ecx + 0x5c], 0xffffff
mov edx, dword [esi + 0x44]
mov dword [edx + 0x60], 0x1ffffff
mov eax, dword [esi + 0x44]
mov dword [eax + 0x64], 0x3ffffff
mov ecx, dword [esi + 0x44]
mov dword [ecx + 0x68], 0x7ffffff
mov edx, dword [esi + 0x44]
mov dword [edx + 0x6c], 0xfffffff
mov eax, dword [esi + 0x44]
mov dword [eax + 0x70], 0x1fffffff
mov ecx, dword [esi + 0x44]
mov dword [ecx + 0x74], 0x3fffffff
mov edx, dword [esi + 0x44]
mov dword [edx + 0x78], 0x7fffffff
mov eax, dword [esi + 0x60]
mov dword [eax], 1
mov ecx, dword [esi + 0x60]
mov dword [ecx + 4], 2
mov edx, dword [esi + 0x60]
mov dword [edx + 8], 4
mov eax, dword [esi + 0x60]
mov dword [eax + 0xc], 8
mov ecx, dword [esi + 0x60]
mov dword [ecx + 0x10], 0x10
mov edx, dword [esi + 0x60]
mov dword [edx + 0x14], 0x20
mov eax, dword [esi + 0x60]
mov dword [eax + 0x18], 0x40
mov ecx, dword [esi + 0x60]
mov dword [ecx + 0x1c], 0x80
mov edx, dword [esi + 0x60]
mov dword [edx + 0x20], 0x100
mov eax, dword [esi + 0x60]
mov dword [eax + 0x24], 0x200
mov ecx, dword [esi + 0x60]
mov dword [ecx + 0x28], 0x400
mov edx, dword [esi + 0x60]
mov dword [edx + 0x2c], 0x800
mov eax, dword [esi + 0x60]
mov dword [eax + 0x30], 0x1000
mov ecx, dword [esi + 0x60]
mov dword [ecx + 0x34], 0x2000
mov edx, dword [esi + 0x60]
mov dword [edx + 0x38], 0x4000
mov eax, dword [esi + 0x60]
mov dword [eax + 0x3c], 0x8000
mov ecx, dword [esi + 0x60]
mov dword [ecx + 0x40], 0x10000
mov edx, dword [esi + 0x60]
mov dword [edx + 0x44], 0x20000
mov eax, dword [esi + 0x60]
mov dword [eax + 0x48], 0x40000
mov ecx, dword [esi + 0x60]
mov dword [ecx + 0x4c], 0x80000
mov edx, dword [esi + 0x60]
mov dword [edx + 0x50], 0x100000
mov eax, dword [esi + 0x60]
mov dword [eax + 0x54], 0x200000
mov ecx, dword [esi + 0x60]
mov dword [ecx + 0x58], 0x400000
mov edx, dword [esi + 0x60]
mov dword [edx + 0x5c], 0x800000
mov eax, dword [esi + 0x60]
mov dword [eax + 0x60], 0x1000000
mov ecx, dword [esi + 0x60]
mov dword [ecx + 0x64], 0x2000000
mov edx, dword [esi + 0x60]
mov dword [edx + 0x68], 0x4000000
mov eax, dword [esi + 0x60]
mov dword [eax + 0x6c], 0x8000000
mov ecx, dword [esi + 0x60]
mov dword [ecx + 0x70], 0x10000000
mov edx, dword [esi + 0x60]
mov dword [edx + 0x74], 0x20000000
mov eax, dword [esi + 0x60]
mov dword [eax + 0x78], 0x40000000
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4