Function at 0x441320
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x4085e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x4045f0
mov eax, dword [0x493098]
xor edi, edi
cmp eax, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
jne 0x44136d
push 0x493098
push 0x40bce4
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x493098]
lea ecx, [ebp - 0x30]
push ecx
push esi
mov eax, dword [esi]
call dword [eax + 0x100]
cmp eax, edi
fnclex
jge 0x441398
push 0x100
push 0x40d744
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
fld dword [ebp - 0x30]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
call esi
mov edx, dword [0x493150]
sub eax, 0x64
jo 0x44155c
mov dword [edx], eax
mov eax, dword [0x493150]
mov ecx, 7
mov dword [eax + 4], ecx
mov eax, dword [0x493150]
mov edx, dword [eax]
add edx, 0x15
jo 0x44155c
add edx, 5
jo 0x44155c
mov dword [eax + 8], edx
mov eax, dword [0x493150]
mov dword [eax + 0xc], ecx
mov eax, dword [0x493150]
mov edx, dword [eax + 8]
add edx, 0x15
jo 0x44155c
add edx, 5
jo 0x44155c
mov dword [eax + 0x10], edx
mov eax, dword [0x493150]
mov dword [eax + 0x14], ecx
mov eax, dword [0x493098]
cmp eax, edi
jne 0x441428
push 0x493098
push 0x40bce4
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [0x493098]
mov ecx, dword [eax]
push edi
push 0x80010005
push eax
call dword [ecx + 0x348]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea edx, [ebp - 0x1c]
push eax
push edx
call edi
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
push eax
lea eax, [ebp - 0x2c]
push eax
call ebx
add esp, 0x10
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaR4Var]
call esi
mov ecx, eax
mov eax, 0x55555556
imul ecx
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], edx
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [0x493098]
test eax, eax
jne 0x4414a0
push 0x493098
push 0x40bce4
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [0x493098]
mov edx, dword [eax]
push 0
push 0x80010003
push eax
call dword [edx + 0x348]
push eax
lea eax, [ebp - 0x1c]
push eax
call edi
lea ecx, [ebp - 0x2c]
push eax
push ecx
call ebx
add esp, 0x10
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaR4Var]
fild dword [ebp - 0x18]
fstp qword [ebp - 0x44]
fadd qword [ebp - 0x44]
fsub qword [0x4045e8]
fsub qword [0x4045e0]
fnstsw ax
test al, 0xd
jne 0x441557
call esi
mov edx, dword [0x493170]
lea ecx, [ebp - 0x1c]
mov dword [edx], eax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [0x493170]
mov edi, dword [ebp - 0x18]
mov ecx, 0x2a
push 0x441546
mov dword [eax + 4], ecx
mov eax, dword [0x493170]
wait
mov edx, dword [eax]
add edx, edi
jo 0x44155c
add edx, 0x14
jo 0x44155c
mov dword [eax + 8], edx
mov eax, dword [0x493170]
mov dword [eax + 0xc], ecx
jmp 0x441545
ret
jmp 0x4085ec
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop