Function at 0x422d80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x403c46
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x68
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x402bc8
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x34], 0xb
mov dword [ebp - 0x5c], 0x6348
cmp dword [ebp - 0x5c], 0xea61
jae 0x422e02
mov dword [ebp - 0x74], 0
jmp 0x422e0b
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x74], eax
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x5c]
shl eax, 4
mov ecx, dword [0x43a020]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 4], 4
mov dword [ebp - 0x2c], 0x406680
mov dword [ebp - 0x34], 8
mov dword [ebp - 0x5c], 0x145
cmp dword [ebp - 0x5c], 0xea61
jae 0x422e50
mov dword [ebp - 0x78], 0
jmp 0x422e59
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x78], eax
lea edx, [ebp - 0x34]
mov ecx, dword [ebp - 0x5c]
shl ecx, 4
mov eax, dword [0x43a020]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
mov dword [ebp - 4], 5
push 0
push 2
push 1
push 0
lea ecx, [ebp - 0x24]
push ecx
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
mov edx, dword [ebp + 8]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x34], 0x4003
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x24]
xor ecx, ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
mov dword [ebp - 0x3c], 0xfffffffc
mov dword [ebp - 0x44], 2
lea edx, [ebp - 0x44]
mov ecx, dword [ebp - 0x24]
mov eax, 1
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 0x4c], 0x416710
mov dword [ebp - 0x54], 3
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x24]
mov ecx, 2
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [0x43a07c]
push edx
mov eax, dword [0x43a154]
push eax
call fcn.00435540
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x24]
push ecx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
mov edx, dword [ebp - 0x58]
mov dword [0x43a088], edx
mov dword [ebp - 4], 6
mov dword [ebp - 0x2c], 0x2854
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x5c], 0x3e93
cmp dword [ebp - 0x5c], 0xea61
jae 0x422f71
mov dword [ebp - 0x7c], 0
jmp 0x422f7a
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x7c], eax
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x5c]
shl eax, 4
mov ecx, dword [0x43a020]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 4], 7
mov cx, 0x46c6
add cx, 0x55d0
jo 0x4230ca
mov word [ebp - 0x2c], cx
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x5c], 0x319
cmp dword [ebp - 0x5c], 0xea61
jae 0x422fcb
mov dword [ebp - 0x80], 0
jmp 0x422fd4
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x80], eax
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x5c]
shl eax, 4
mov ecx, dword [0x43a020]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 4], 8
push 0x40d67000
push 0
push 0x40d6a340
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaPowerR8]
fstp qword [ebp - 0x2c]
mov dword [ebp - 0x34], 5
mov dword [ebp - 0x5c], 0x22cb
cmp dword [ebp - 0x5c], 0xea61
jae 0x42302c
mov dword [ebp - 0x84], 0
jmp 0x423038
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x84], eax
lea edx, [ebp - 0x34]
mov ecx, dword [ebp - 0x5c]
shl ecx, 4
mov eax, dword [0x43a020]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 4], 9
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x34], 0xb
mov dword [ebp - 0x5c], 0x6620
cmp dword [ebp - 0x5c], 0xea61
jae 0x42307f
mov dword [ebp - 0x88], 0
jmp 0x42308b
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x88], eax
lea edx, [ebp - 0x34]
mov ecx, dword [ebp - 0x5c]
shl ecx, 4
mov eax, dword [0x43a020]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
wait
push 0x4230b7
jmp 0x4230b6
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]