Function at 0x4502f0
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 0x404496
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], 0x402c40
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 0x40e804
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryConstruct2]
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov edx, 0x40e4dc
mov ecx, dword [ebp - 0x50]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
call esi
mov edx, 0x40e4f0
mov ecx, dword [ebp - 0x50]
add ecx, 4
call esi
mov edx, 0x40e504
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 8]
call esi
mov edx, 0x40e51c
mov ecx, dword [ebp - 0x50]
add ecx, 0xc
call esi
mov edx, 0x40e534
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x10]
call esi
mov edx, 0x40e560
mov ecx, dword [ebp - 0x50]
add ecx, 0x14
call esi
mov edx, 0x40e580
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x18]
call esi
mov edx, 0x40e594
mov ecx, dword [ebp - 0x50]
add ecx, 0x1c
call esi
mov edx, 0x40e5b0
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x20]
call esi
mov edx, 0x40e4dc
mov ecx, dword [ebp - 0x50]
add ecx, 0x24
call esi
mov edx, 0x40e4f0
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x28]
call esi
mov edx, 0x40e4f0
mov ecx, dword [ebp - 0x50]
add ecx, 0x2c
call esi
mov edx, 0x40e4dc
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x30]
call esi
mov edx, 0x40e5c8
mov ecx, dword [ebp - 0x50]
add ecx, 0x34
call esi
mov edx, 0x40e5dc
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x38]
call esi
mov edx, 0x40e5f4
mov ecx, dword [ebp - 0x50]
add ecx, 0x3c
call esi
mov edx, 0x40e608
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x40]
call esi
mov edx, 0x40e61c
mov ecx, dword [ebp - 0x50]
add ecx, 0x44
call esi
mov edx, 0x40e630
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x48]
call esi
mov edx, 0x40e648
mov ecx, dword [ebp - 0x50]
add ecx, 0x4c
call esi
mov edx, 0x40e668
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x50]
call esi
mov edx, 0x40e680
mov ecx, dword [ebp - 0x50]
add ecx, 0x54
call esi
mov edx, 0x40e5b0
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x58]
call esi
mov edx, 0x40e698
mov ecx, dword [ebp - 0x50]
add ecx, 0x5c
call esi
mov edx, 0x40e6b4
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x60]
call esi
mov edx, 0x40e580
mov ecx, dword [ebp - 0x50]
add ecx, 0x64
call esi
mov edx, 0x40e6c8
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x68]
call esi
mov edx, 0x40e6ec
mov ecx, dword [ebp - 0x50]
add ecx, 0x6c
call esi
mov edx, 0x40e54c
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x70]
call esi
mov edx, 0x40e504
mov ecx, dword [ebp - 0x50]
add ecx, 0x74
call esi
mov edx, 0x40e70c
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x78]
call esi
mov edx, 0x40e51c
mov ecx, dword [ebp - 0x50]
add ecx, 0x7c
call esi
mov edx, 0x40e728
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x80]
call esi
mov edx, 0x40e740
mov ecx, dword [ebp - 0x50]
add ecx, 0x84
call esi
mov edx, 0x40e754
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x88]
call esi
mov edx, 0x40e774
mov ecx, dword [ebp - 0x50]
add ecx, 0x8c
call esi
mov edx, 0x40e790
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x90]
call esi
mov edx, 0x40e560
mov ecx, dword [ebp - 0x50]
add ecx, 0x94
call esi
mov edx, 0x40e7b0
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0x98]
call esi
mov edx, 0x40e534
mov ecx, dword [ebp - 0x50]
add ecx, 0x9c
call esi
mov edx, 0x40e7c8
mov eax, dword [ebp - 0x50]
lea ecx, [eax + 0xa0]
call esi
mov ebx, 0x80020004
mov dword [ebp - 0x94], ebx
mov esi, 0xa
mov dword [ebp - 0x9c], esi
lea ecx, [ebp - 0x9c]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcRandomize]
lea ecx, [ebp - 0x9c]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
call edi
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x9c], esi
lea edx, [ebp - 0x9c]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcRandomNext]
fstp dword [ebp - 0x110]
call fcn.004508e0
mov edx, eax
lea ecx, [ebp - 0x84]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
call esi
push eax
push 0x40e7e0
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
call ebx
mov edx, eax
lea ecx, [ebp - 0x88]
call esi
push eax
fld dword [ebp - 0x110]
fmul dword [0x402c64]
call dword [sym.imp.MSVBVM60.DLL___vbaR8IntI4]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + eax*4]
push edx
call ebx
mov edx, eax
lea ecx, [ebp - 0x6c]
call esi
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x84]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
lea ecx, [ebp - 0x9c]
call edi
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
wait
push 0x4508ca
jmp 0x450893
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 eax, [ebp - 0x5c]
mov dword [ebp - 0x110], eax
lea ecx, [ebp - 0x110]
push ecx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
lea ecx, [ebp - 0x80]
call esi
ret