Function at 0x555370
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x40cd06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x40c960
mov edx, dword [ebp + 8]
xor edi, edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0xcc], edi
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xec], edi
mov dword [ebp - 0xfc], edi
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x144], edi
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaAryConstruct2]
push 3
lea eax, [ebp - 0x60]
push 0x441818
push eax
call esi
push 3
lea ecx, [ebp - 0x88]
push 0x441834
push ecx
call esi
mov eax, dword [ebp - 0x7c]
mov edx, 0x1e
mov edx, 0x39
mov dword [eax], 0x26
mov ecx, dword [ebp - 0x7c]
mov dword [ecx + 4], 0x38
mov eax, dword [ebp - 0x7c]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x7c]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x7c]
mov dword [eax + 0x10], 0x63
mov ecx, dword [ebp - 0x7c]
mov eax, 0x3a
mov dword [ecx + 0x14], 0xf
mov ecx, dword [ebp - 0x7c]
mov dword [ecx + 0x18], eax
mov esi, dword [ebp - 0x7c]
mov ecx, 0xc
mov dword [esi + 0x1c], ecx
mov ebx, dword [ebp - 0x7c]
mov esi, 0xd
mov dword [ebx + 0x20], esi
mov ebx, dword [ebp - 0x7c]
mov dword [ebx + 0x24], 0x11
xor ebx, ebx
mov ebx, dword [ebp - 0x7c]
mov dword [ebx + 0x28], 0x13
mov ebx, dword [ebp - 0x7c]
mov dword [ebx + 0x2c], 0x12
mov ebx, dword [ebp - 0x7c]
mov dword [ebx + 0x30], 0x58
mov ebx, dword [ebp - 0x7c]
mov dword [ebx + 0x34], eax
mov eax, 0x34
mov ebx, dword [ebp - 0x7c]
mov dword [ebx + 0x38], eax
mov ebx, dword [ebp - 0x7c]
mov dword [ebx + 0x3c], eax
mov ebx, dword [ebp - 0x7c]
mov dword [ebx + 0x40], ecx
mov ebx, dword [ebp - 0x7c]
mov dword [ebx + 0x44], esi
mov esi, dword [ebp - 0x7c]
mov dword [esi + 0x48], ecx
mov ecx, dword [ebp - 0x7c]
mov dword [ecx + 0x4c], edx
mov edx, dword [ebp - 0x7c]
mov dword [edx + 0x50], eax
mov eax, dword [ebp - 0x7c]
mov dword [eax + 0x54], 0x62
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00555130
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x2c]
call esi
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
mov dword [ebp - 0x34], eax
mov ebx, 1
cmp ebx, dword [ebp - 0x34]
jg 0x555611
mov eax, ebx
mov ecx, 3
sub eax, 1
mov dword [ebp - 0xc4], 1
jo 0x555a8a
cdq
idiv ecx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xcc], 2
mov dword [ebp - 0x1c], edx
lea edx, [ebp - 0xcc]
push edx
push ebx
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharBstr]
mov edx, eax
lea ecx, [ebp - 0x94]
call esi
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcAnsiValueBstr]
movsx ecx, ax
imul ecx, dword [ebp - 0x34]
jo 0x555a8a
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x90], eax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0xcc]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
movsx eax, word [ebp - 0x90]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x54]
add eax, dword [edx + ecx*4]
mov ecx, 0x64
jo 0x555a8a
cdq
idiv ecx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + ecx*4], edx
xor eax, eax
mov edx, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x68], eax
sub edx, eax
mov eax, 1
jo 0x555a8a
add eax, ebx
jo 0x555a8a
mov ebx, eax
jmp 0x55553d
mov ebx, 1
mov eax, 2
cmp edi, eax
jg 0x55569d
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x140]
push eax
mov eax, dword [edx + edi*4]
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrI4]
mov edx, eax
lea ecx, [ebp - 0x94]
call esi
push eax
call fcn.00555c60
mov edx, eax
lea ecx, [ebp - 0x98]
call esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x48]
call esi
lea ecx, [ebp - 0x98]
lea edx, [ebp - 0x94]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x68]
add esp, 0xc
sub eax, ecx
mov ecx, ebx
jo 0x555a8a
add ecx, edi
jo 0x555a8a
mov edi, ecx
jmp 0x555616
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 0x10]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrI4]
push edx
push eax
mov dword [ebp - 0x140], 3
call ebx
mov edx, eax
lea ecx, [ebp - 0x94]
call esi
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x9c]
call esi
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x140]
push eax
push ecx
push edx
call ebx
mov edx, eax
lea ecx, [ebp - 0x98]
call esi
push eax
call fcn.00555c60
mov edx, eax
lea ecx, [ebp - 0xa0]
call esi
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x48]
call esi
lea eax, [ebp - 0xa0]
lea ecx, [ebp - 0x9c]
push eax
lea edx, [ebp - 0x98]
push ecx
lea eax, [ebp - 0x94]
push edx
push eax
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
mov ecx, 1
add esp, 0x14
mov ebx, ecx
mov eax, 5
cmp ebx, eax
jg 0x5557f4
mov eax, 2
lea edx, [ebp - 0xcc]
jmp 0x577710
mov ebx, dword [sym.imp.MSVBVM60.DLL_rtcMidCharBstr]
mov eax, 2
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0xcc]
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 0xf4], ecx
mov ecx, dword [ebp - 0x48]
push eax
push 8
push ecx
call ebx
mov edx, eax
lea ecx, [ebp - 0x94]
call esi
lea edx, [ebp - 0xdc]
push eax
mov eax, dword [ebp - 0x48]
push edx
push 7
push eax
call ebx
mov edx, eax
lea ecx, [ebp - 0x98]
call esi
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x9c]
call esi
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x6c]
push eax
mov eax, dword [ecx + edx*4]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrI4]
mov edx, eax
lea ecx, [ebp - 0xa0]
call esi
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0xa4]
call esi
mov edx, dword [ebp - 0x48]
lea ecx, [ebp - 0xec]
push eax
push ecx
push 0xa
push edx
call ebx
mov edx, eax
lea ecx, [ebp - 0xa8]
call esi
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0xac]
call esi
mov ecx, dword [ebp - 0x48]
push eax
lea eax, [ebp - 0xfc]
push eax
push 9
push ecx
call ebx
mov edx, eax
lea ecx, [ebp - 0xb0]
call esi
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0xb4]
call esi
mov edx, dword [ebp - 0x48]
push eax
push 6
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcLeftCharBstr]
mov edx, eax
lea ecx, [ebp - 0xb8]
call esi
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0xbc]
call esi
push eax
call fcn.004a4ab0
mov edx, eax
lea ecx, [ebp - 0x20]
call esi
lea eax, [ebp - 0xbc]
lea ecx, [ebp - 0xb8]
push eax
lea edx, [ebp - 0xb4]
push ecx
lea eax, [ebp - 0xb0]
push edx
lea ecx, [ebp - 0xac]
push eax
lea edx, [ebp - 0xa8]
push ecx
lea eax, [ebp - 0xa4]
push edx
lea ecx, [ebp - 0xa0]
push eax
lea edx, [ebp - 0x9c]
push ecx
lea eax, [ebp - 0x98]
push edx
lea ecx, [ebp - 0x94]
push eax
push ecx
push 0xb
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
lea edx, [ebp - 0xfc]
lea eax, [ebp - 0xec]
push edx
lea ecx, [ebp - 0xdc]
push eax
lea edx, [ebp - 0xcc]
push ecx
push edx
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x44
push 0x555a74
jmp 0x555a28
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x24]
call esi
lea ecx, [ebp - 0x2c]
call esi
lea ecx, [ebp - 0x44]
call esi
lea ecx, [ebp - 0x48]
call esi
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
lea ecx, [ebp - 0x140]
xor edi, edi
lea eax, [ebp - 0x60]
push ecx
push edi
mov dword [ebp - 0x140], eax
call esi
lea eax, [ebp - 0x144]
lea edx, [ebp - 0x88]
push eax
push edi
mov dword [ebp - 0x144], edx
call esi
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]