Function at 0x424800
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x401f96
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x401d38
xor esi, esi
mov edx, 0x40acac
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x60], esi
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea ecx, [ebp - 0x50]
lea eax, [ebp - 0x1c]
push ecx
push 1
push 0x4156f4
mov ebx, 0x4008
push 0x40e3b8
push 0x80000002
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x50], ebx
call fcn.00423c20
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x1c]
push eax
push ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x50], ebx
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x30]
call edi
lea ecx, [ebp - 0x50]
push 1
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x1c]
push ecx
push edx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x50], ebx
call dword [sym.imp.MSVBVM60.DLL_rtcRightCharVar]
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x60]
push eax
push ecx
mov dword [ebp - 0x58], 0x40eee4
mov dword [ebp - 0x60], 0x8008
call dword [sym.imp.MSVBVM60.DLL___vbaVarTextTstEq]
lea ecx, [ebp - 0x30]
mov ebx, eax
call edi
cmp bx, si
je 0x424951
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
sub eax, 1
lea ecx, [ebp - 0x30]
jo 0x4249ad
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x48], eax
push ecx
lea edx, [ebp - 0x50]
push 1
lea eax, [ebp - 0x40]
push edx
push eax
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x50], 0x4008
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
lea ecx, [ebp - 0x40]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x30]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00420010
mov edx, eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push 0x424999
jmp 0x42498f
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
sub esp, 0xc
push 0x401f96
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], 0x401d48
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 edi, dword [sym.imp.MSVBVM60.DLL___vbaUI1I2]
mov ecx, 0xb
call edi
mov edx, dword [esi + 0xb4]
mov ecx, 0xd
mov byte [edx], al
call edi
mov ecx, dword [esi + 0xb4]
mov byte [ecx + 1], al
mov ecx, 9
call edi
mov edx, dword [esi + 0xb4]
mov ecx, 0xe
mov byte [edx + 2], al
call edi
mov ecx, dword [esi + 0xb4]
mov byte [ecx + 3], al
mov ecx, 1
call edi
mov edx, dword [esi + 0x7c]
mov ecx, 3
mov byte [edx], al
call edi
mov ecx, dword [esi + 0x7c]
mov byte [ecx + 1], al
mov ecx, 7
call edi
mov edx, dword [esi + 0x7c]
mov ecx, 0xf
mov byte [edx + 2], al
call edi
mov ecx, dword [esi + 0x7c]
mov byte [ecx + 3], al
mov ecx, 0x1f
call edi
mov edx, dword [esi + 0x7c]
mov ecx, 0x3f
mov byte [edx + 4], al
call edi
mov ecx, dword [esi + 0x7c]
mov byte [ecx + 5], al
mov ecx, 0x7f
call edi
mov edx, dword [esi + 0x7c]
mov ecx, 0xff
mov byte [edx + 6], al
call edi
mov ecx, dword [esi + 0x7c]
mov byte [ecx + 7], al
mov ecx, 1
call edi
mov edx, dword [esi + 0x98]
mov ecx, 2
mov byte [edx], al
call edi
mov ecx, dword [esi + 0x98]
mov byte [ecx + 1], al
mov ecx, 4
call edi
mov edx, dword [esi + 0x98]
mov ecx, 8
mov byte [edx + 2], al
call edi
mov ecx, dword [esi + 0x98]
mov byte [ecx + 3], al
mov ecx, 0x10
call edi
mov edx, dword [esi + 0x98]
mov ecx, 0x20
mov byte [edx + 4], al
call edi
mov ecx, dword [esi + 0x98]
mov byte [ecx + 5], al
mov ecx, 0x40
call edi
mov edx, dword [esi + 0x98]
mov ecx, 0x80
mov byte [edx + 6], al
call edi
mov ecx, dword [esi + 0x98]
mov byte [ecx + 7], al
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