Function at 0x452400
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x404816
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push esi
push edi
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], 0x402ca0
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0x110], eax
push 8
push 0x40f544
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryConstruct2]
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov edx, 0x40f21c
mov ecx, dword [ebp - 0x50]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
call esi
mov edx, 0x40f230
mov ecx, dword [ebp - 0x50]
add ecx, 4
call esi
mov edx, 0x40f244
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 8]
call esi
mov edx, 0x40f25c
mov ecx, dword [ebp - 0x50]
add ecx, 0xc
call esi
mov edx, 0x40f274
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x10]
call esi
mov edx, 0x40f28c
mov ecx, dword [ebp - 0x50]
add ecx, 0x14
call esi
mov edx, 0x40f2ac
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x18]
call esi
mov edx, 0x40f2c0
mov ecx, dword [ebp - 0x50]
add ecx, 0x1c
call esi
mov edx, 0x40f2dc
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x20]
call esi
mov edx, 0x40f21c
mov ecx, dword [ebp - 0x50]
add ecx, 0x24
call esi
mov edx, 0x40f230
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x28]
call esi
mov edx, 0x40f230
mov ecx, dword [ebp - 0x50]
add ecx, 0x2c
call esi
mov edx, 0x40f21c
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x30]
call esi
mov edx, 0x40f2f4
mov ecx, dword [ebp - 0x50]
add ecx, 0x34
call esi
mov edx, 0x40f308
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x38]
call esi
mov edx, 0x40f320
mov ecx, dword [ebp - 0x50]
add ecx, 0x3c
call esi
mov edx, 0x40f334
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x40]
call esi
mov edx, 0x40f348
mov ecx, dword [ebp - 0x50]
add ecx, 0x44
call esi
mov edx, 0x40f35c
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x48]
call esi
mov edx, 0x40f374
mov ecx, dword [ebp - 0x50]
add ecx, 0x4c
call esi
mov edx, 0x40f394
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x50]
call esi
mov edx, 0x40f3ac
mov ecx, dword [ebp - 0x50]
add ecx, 0x54
call esi
mov edx, 0x40f2dc
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x58]
call esi
mov edx, 0x40f3c4
mov ecx, dword [ebp - 0x50]
add ecx, 0x5c
call esi
mov edx, 0x40f3e0
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x60]
call esi
mov edx, 0x40f2ac
mov ecx, dword [ebp - 0x50]
add ecx, 0x64
call esi
mov edx, 0x40f3f4
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x68]
call esi
mov edx, 0x40f418
mov ecx, dword [ebp - 0x50]
add ecx, 0x6c
call esi
mov edx, 0x40f438
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x70]
call esi
mov edx, 0x40f244
mov ecx, dword [ebp - 0x50]
add ecx, 0x74
call esi
mov edx, 0x40f44c
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x78]
call esi
mov edx, 0x40f25c
mov ecx, dword [ebp - 0x50]
add ecx, 0x7c
call esi
mov edx, 0x40f468
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x80]
call esi
mov edx, 0x40f480
mov ecx, dword [ebp - 0x50]
add ecx, 0x84
call esi
mov edx, 0x40f494
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x88]
call esi
mov edx, 0x40f4b4
mov ecx, dword [ebp - 0x50]
add ecx, 0x8c
call esi
mov edx, 0x40f4d0
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x90]
call esi
mov edx, 0x40f28c
mov ecx, dword [ebp - 0x50]
add ecx, 0x94
call esi
mov edx, 0x40f4f0
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x98]
call esi
mov edx, 0x40f274
mov ecx, dword [ebp - 0x50]
add ecx, 0x9c
call esi
mov edx, 0x40f508
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0xa0]
call esi
mov dword [ebp - 0x94], 0x80020004
mov dword [ebp - 0x9c], 0xa
lea ecx, [ebp - 0x9c]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcRandomNext]
fstp dword [ebp - 0x110]
call fcn.004529c0
mov edx, eax
lea ecx, [ebp - 0x84]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
call esi
push eax
push 0x40f520
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
call edi
mov edx, eax
lea ecx, [ebp - 0x88]
call esi
push eax
fld dword [ebp - 0x110]
fmul dword [0x402cc4]
call dword [sym.imp.MSVBVM60.DLL___vbaR8IntI4]
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + eax*4]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x6c]
call esi
lea ecx, [ebp - 0x88]
push ecx
lea edx, [ebp - 0x84]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
lea ecx, [ebp - 0x9c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
wait
push 0x4529a9
jmp 0x452972
lea ecx, [ebp - 0x2c]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
call esi
lea ecx, [ebp - 0x3c]
call esi
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x110], ecx
lea edx, [ebp - 0x110]
push edx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
lea ecx, [ebp - 0x80]
call esi
ret