Function at 0x45e320
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x4011f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x4011b8
push 2
lea eax, [ebp - 0x34]
xor esi, esi
push 0x45b5f8
push eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0xa0], esi
call dword [sym.imp.MSVBVM60.DLL___vbaAryConstruct2]
mov edx, 0x45b5b8
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov ecx, dword [ebp - 0x28]
mov edi, 1
mov dword [ebp - 0x18], esi
mov word [ecx], si
mov edx, dword [ebp - 0x28]
mov word [edx + 2], di
mov eax, dword [ebp - 0x28]
mov word [eax + 4], 2
mov ecx, dword [ebp - 0x28]
mov word [ecx + 6], 3
mov edx, dword [ebp - 0x28]
mov word [edx + 8], 4
mov eax, dword [ebp - 0x28]
mov word [eax + 0xa], 5
mov ecx, dword [ebp - 0x28]
mov word [ecx + 0xc], 6
mov edx, dword [ebp - 0x28]
mov word [edx + 0xe], 7
mov eax, dword [ebp - 0x28]
mov word [eax + 0x10], 8
mov ecx, dword [ebp - 0x28]
mov word [ecx + 0x12], 9
mov edx, dword [ebp - 0x28]
mov word [edx + 0x14], 0xa
mov eax, dword [ebp - 0x28]
mov word [eax + 0x16], 0x14
mov ecx, dword [ebp - 0x28]
mov word [ecx + 0x18], 0x1e
mov edx, dword [ebp - 0x28]
mov word [edx + 0x1a], 0x28
mov eax, dword [ebp - 0x28]
mov word [eax + 0x1c], 0x32
mov ecx, dword [ebp - 0x28]
mov word [ecx + 0x1e], 0x3c
mov edx, dword [ebp - 0x28]
mov word [edx + 0x20], 0x46
mov eax, dword [ebp - 0x28]
mov word [eax + 0x22], 0x50
mov ecx, dword [ebp - 0x28]
mov word [ecx + 0x24], 0x5a
mov edx, dword [ebp - 0x28]
mov word [edx + 0x26], 0x64
mov eax, dword [ebp - 0x28]
mov word [eax + 0x28], 0xc8
mov ecx, dword [ebp - 0x28]
mov word [ecx + 0x2a], 0x12c
mov edx, dword [ebp - 0x28]
mov word [edx + 0x2c], 0x190
mov eax, dword [ebp - 0x28]
mov word [eax + 0x2e], 0x1f4
mov ecx, dword [ebp - 0x28]
mov word [ecx + 0x30], 0x258
mov edx, dword [ebp - 0x28]
mov word [edx + 0x32], 0x2bc
mov eax, dword [ebp - 0x28]
mov word [eax + 0x34], 0x320
mov ecx, dword [ebp - 0x28]
mov word [ecx + 0x36], 0x384
mov edx, dword [ebp - 0x28]
mov word [edx + 0x38], 0x3e8
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x7c], 0x4008
call dword [sym.imp.MSVBVM60.DLL_rtcIsNumeric]
test ax, ax
je 0x45e4cf
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcR8ValFromBstr]
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push 0x45e5d1
mov dword [ebp - 0x3c], ecx
wait
jmp 0x45e5af
mov edx, dword [ebx]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov dword [ebp - 0xac], eax
cmp di, word [ebp - 0xac]
jg 0x45e4be
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x4c]
movsx edx, di
mov dword [ebp - 0x94], eax
push ecx
lea eax, [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x5c]
push eax
push ecx
mov dword [ebp - 0x9c], 8
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x4c], 2
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x7c], 0x4008
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
lea edx, [ebp - 0x9c]
push 1
lea eax, [ebp - 0x5c]
push edx
push eax
lea ecx, [ebp - 0x6c]
push esi
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaInStrVar]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI4Var]
mov esi, eax
cmp esi, 0x1d
jb 0x45e55c
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
movsx eax, word [edx + esi*2]
add eax, ecx
lea ecx, [ebp - 0x6c]
jo 0x45e5e7
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x5c]
push ecx
lea eax, [ebp - 0x4c]
push edx
push eax
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov eax, 1
add esp, 0x10
add ax, di
jo 0x45e5e7
mov edi, eax
xor esi, esi
jmp 0x45e4e6
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea eax, [ebp - 0xa0]
lea edx, [ebp - 0x34]
push eax
push 0
mov dword [ebp - 0xa0], edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
push ebp
mov ebp, esp
sub esp, 0xc
push 0x4011f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x4011c8
mov edi, dword [ebp + 8]
mov eax, edi
and eax, 1
mov dword [ebp - 4], eax
and edi, 0xfffffffe
push edi
mov dword [ebp + 8], edi
mov ecx, dword [edi]
call dword [ecx + 4]
mov eax, dword [0x45f3d4]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x30], ebx
jne 0x45e657
push 0x45f3d4
push 0x45b2b8
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x45f3d4]
lea eax, [ebp - 0x1c]
push eax
push esi
mov edx, dword [esi]
call dword [edx + 0x14]
cmp eax, ebx
fnclex
jge 0x45e67c
push 0x14
push 0x45b2a8
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x50]
cmp eax, ebx
fnclex
jge 0x45e6a0
push 0x50
push 0x45b6f0
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x18]
push eax
push 0x45b704
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
sub esp, 0x10
mov ecx, 8
mov edx, esp
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], eax
push 0x13
mov dword [edx], ecx
mov ecx, dword [ebp - 0x2c]
push edi
mov dword [edx + 4], ecx
mov ecx, dword [edi]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x24]
mov dword [edx + 0xc], eax
call dword [ecx + 0x2fc]
lea edx, [ebp - 0x20]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdSt]
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], ebx
push 0x45e743
jmp 0x45e742
ret